|
C++ Crossplatform GUI using Qt
|
|
04-23-2009, 12:46 PM
Post: #1
|
|||
|
|||
|
C++ Crossplatform GUI using Qt
Qt is a platform which enables to create cross platform GUI using C++ language that can run on almost all the existing operating systems (Windows, Mac, Linux). visit QT Software for more information.
The following code snippet shows how to right a small hello world GUI application using Qt. The hello world will be displayed in a small QPushButton You need Qt libraries to compile and run this. main.cpp #include <QtGui/QApplication> #include <QtGui/QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello world!"); hello.resize(100, 30); hello.show(); return app.exec(); } |
|||
|
09-17-2009, 05:27 PM
Post: #2
|
|||
|
|||
|
RE: C++ Crossplatform GUI using Qt
Hi,
This is actually the how to show buttons but can you help me in making the menu bars in the c++? Thanks for sharing this information. cadeau |
|||
|
« Next Oldest | Next Newest »
|


Search
Member List
Calendar
Help


