= qt = Qt is a cross-platform application and UI framework for developers http://qt-project.org/ == Sample C++ Qt program in Slackware Linux == {{{#!highlight c++ /* Include path in Slackware 14: /usr/lib/qt/include/Qt Compile on Slackware 14: g++ -lQtCore -lQtGui -I/usr/lib/qt/include/Qt helloWorldQt.cpp -o helloWorldQt Run with ./helloWorldQt */ #include #include #include int main(int argc,char** argv){ QApplication app(argc,argv); QMainWindow mw; mw.setMinimumSize(200,100); mw.setMaximumSize(200,100); QPushButton pb("Push it, Hello world",&mw); pb.setGeometry(20,20,160,60); mw.setCentralWidget(&pb); mw.show(); return app.exec(); } }}}