Ok, so here's what I've got:
Windows 7 64bit running Qt 4.6.3 (installed, not compiled).
I've downloaded Qt 4.7.4 source, changed two lines in qt-everywhere-opensource-src-4.7.4\mkspecs\win32-g++\qmake.conf to look like that:
QMAKE_CFLAGS_RELEASE = -Os -momit-leaf-frame-pointer
QMAKE_LFLAGS = -static -static-libgcc
QMAKE_CFLAGS_RELEASE = -Os -momit-leaf-frame-pointer
QMAKE_LFLAGS = -static -static-libgcc
To copy to clipboard, switch view to plain text mode
and compiled whole thing using:
configure -release -nomake examples -nomake demos -no-exceptions -no-rtti -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-s60 -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite -platform win32-g++ -static
mingw32-make
configure -release -nomake examples -nomake demos -no-exceptions -no-rtti -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-s60 -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite -platform win32-g++ -static
mingw32-make
To copy to clipboard, switch view to plain text mode
Then coment out line 61 in qwt-6.0.1\qwtconfig.pri and compile it (I've done it using Qt Creator).
In test app just add a QwtPlot object and compile. In your *.pro file you will need to add two lines:
INCLUDEPATH += <path to your qwt>\\qwt-6.0.1\\src
LIBS += -L<path to your qwt>\\qwt-6.0.1c\\lib -lqwt
INCLUDEPATH += <path to your qwt>\\qwt-6.0.1\\src
LIBS += -L<path to your qwt>\\qwt-6.0.1c\\lib -lqwt
To copy to clipboard, switch view to plain text mode
after that everything should work just fine.
Let me know if it works for you.
Bookmarks