Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # qt
- setx /m QTDIR …
- git clone git://gitorious.org/qt/qt5.git .
- perl init-repository
- call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat"
- configure -confirm-license -debug-and-release -opensource -static -platform win32-msvc2010 -arch windows -qt-zlib -qt-libjpeg -no-sql-sqlite -no-gif -no-qdbus -no-opengl -no-openvg -no-vcproj -no-dbus -no-audio-backend -no-openssl -mp -nomake examples -nomake demos && jom
- # test.cpp
- #include <QApplication>
- #include <QPushButton>
- int main(int argc, char *argv[]) {
- QApplication app(argc, argv);
- QPushButton helloButton("Hello World");
- helloButton.resize(80, 20);
- helloButton.show();
- return app.exec();
- }
- # test.pro
- TARGET = test
- QT += widgets core-private widgets-private
- SOURCES += test.cpp
- # make
- call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat"
- qmake -spec win32-msvc2010 && jom release && release\test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement