Keeps the "windows", "windowsxp", "windowsvista" styles.
Reduces the size of a static bitcoin-qt.exe by ~400 kB.
Keeps the "windows", "windowsxp", "windowsvista" styles.
Reduces the size of a static bitcoin-qt.exe by ~400 kB.
Should bump the version number too (eg, qt-win32-4.7.4-gitian.zip => qt-win32-4.7.4-gitian-r1.zip).
Done
39 | @@ -40,7 +40,7 @@ script: | 40 | #export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 41 | export FAKETIME=$REFERENCE_DATETIME 42 | export TZ=UTC 43 | - ./configure -prefix $INSTDIR -confirm-license -release -opensource -static -no-qt3support -xplatform unsupported/win32-g++-cross -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-declarative -no-script -no-scripttools -no-javascript-jit -no-webkit -no-svg -no-xmlpatterns -no-sql-sqlite -no-nis -no-cups -no-iconv -no-dbus -no-gif -no-libtiff -opengl no -nomake examples -nomake demos -nomake docs 44 | + ./configure -prefix $INSTDIR -confirm-license -release -opensource -static -no-qt3support -xplatform unsupported/win32-g++-cross -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-declarative -no-script -no-scripttools -no-javascript-jit -no-webkit -no-svg -no-xmlpatterns -no-sql-sqlite -no-nis -no-cups -no-iconv -no-dbus -no-gif -no-libtiff -opengl no -nomake examples -nomake demos -nomake docs -no-feature-style-plastique -no-feature-style-cleanlooks -no-feature-style-motif -no-feature-style-cde -no-feature-style-windowsce -no-feature-style-windowsmobile -no-feature-style-s60
After -no-javascript-jit there is an unneeded space, which you could remove. And btw. now I know where the Qt static build is coming from ^^ -static. I have 2 additional switches in my local configure line, which are -no-dsp -no-vcproj. As far as I remember they are only needed for MSVC support.
Edit: And shouldn't it read -no-opengl instead of -opengl no?
Edit 2: Sorry for that many edits, but I tried the -no-feature-style-cde on Windows and I need to supply -no-style-cde for configure to work. Could be a change with Qt 4.8.2 but I wanted to mention it at least :).
Nice small find :).
Are you sure?
-no-style-XXX didn't work here, even causes an option parse error in configure, though it is mentioned in the online documentation: http://doc.qt.nokia.com/4.7-snapshot/configure-options.html . no-style-XXX options are no longer mentioned in the configure documentation (configure --help) and the configure bash script that is used on unix-like systems.
-no-feature-style-XXX, however works... both in Qt 4.7.4 and Qt 4.8.1, in cross-compile. This may be a difference with configure.exe that you're using to configure on Windows.
Edit: now I'm sure of this: -no-dsp and no-vcproj don't even exist in configure. The -opengl no seems to work, as Qt OpenGL is not built.
Can for sure be a difference between configure and configure.exe and if it works everything is fine :). But at least the -no-opengl seems correct, when you use configure --help you should be able to verify that.
Yep, I've verified, -no-opengl seems to be interchangable with -opengl no.
Good to know :).
Keeps the "windows", "windowsxp", "windowsvista" styles.
Reduces the size of a static bitcoin-qt.exe by ~400 kB.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/e598b5b5c2343bcb08bcf804249bdb67180baa41 for binaries and test log.
ACK. Should we pull this for 0.7rc2 ?
The pull makes sense and I also used the switches in my own builds and they work (and do not harm bitcoin-qt.exe for me), so I'll vote ACK for 0.7rc2.
I think it's safe to pull this for rc2. Though it means we all have to rebuild qt for the next release.
missed it by THAT MUCH ||