MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 1 as of 2013-12-28 22:53:12
  • qt

qt

Qt is a cross-platform application and UI framework for developers

http://qt-project.org/

Sample C++ Qt program in Slackware Linux

   1 /* 
   2 Include path in Slackware 14:
   3 /usr/lib/qt/include/Qt
   4 
   5 Compile on Slackware 14: 
   6 g++ -lQtCore -lQtGui -I/usr/lib/qt/include/Qt helloWorldQt.cpp -o helloWorldQt
   7 
   8 Run with ./helloWorldQt
   9 */
  10 
  11 #include <qapplication.h>
  12 #include <qmainwindow.h>
  13 #include <qpushbutton.h>
  14 
  15 int main(int argc,char** argv){
  16     QApplication app(argc,argv);
  17     QMainWindow mw;
  18     mw.setMinimumSize(200,100);
  19     mw.setMaximumSize(200,100);
  20 
  21     QPushButton pb("Push it, Hello world",&mw);
  22     pb.setGeometry(20,20,160,60);
  23     mw.setCentralWidget(&pb);
  24     mw.show();
  25     return app.exec();
  26 }
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01