Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
[If you work with qt4, this is well worth the exercise. You might be surprised at how much we do with so little code. -rs]
Care for a bit of Ye Olde Computer Mad Science? This one is kind of fun.
Todays Features:
Look up all QT4 classes and list properties or meta object method calls.
[This is part of the QT Interactive project, because it uses the QT system itself (i.e., the libs, not the docs) to generate the information in a format that runs quickly,...
If you have mc2, 'mc2 -fetch qt4' for the Makefile, otherwise, do whatever you do to get this rolling.
Here are the files for this demo/test.
file: src/main.cpp
Code:
// generic C++ source template created by new.main
#include <stdio.h> // printf(), FILE*, etc.
#include <malloc.h> // malloc(), free()
#include <string.h> // strcpy(), memcpy(), etc.
We're working on building some support for QT widgets in the LQ library now. This project might self destruct at some time in the future, but for now while working on the qt-interactive project (interpreter, and hopefully a somewhat sane byte-code compiler -- which it currently is no) it looks like there may be a few things that could go into a library for reuse in other apps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.