Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <QApplication>
  2. #include <QPushButton>
  3. int main(int argc, char **argv)
  4. {
  5. QApplication app (argc, argv);
  6. QPushButton button ("Hello world !");
  7. button.show();
  8. return app.exec();
  9. }
  10.  
  11. HEADERS += Qt/mainwindow.h
  12. Qt/MPrintableWidget.h
  13. Qt/MPrintableWidgetGroup.h # Oooops forgot the here
  14. Qt/MFixedSizeDialog.h
  15. Qt/MScreenPage.h
  16.  
  17. g++ -fPIC -I /usr/include/qt5/QtWidgets -I /usr/include/qt5 qttest.cpp -o qttest -lQt5Core -lQt5Widgets
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement