Difference between revisions of "Qt updates"
Jump to navigation
Jump to search
(→Source) |
|||
Line 21: | Line 21: | ||
* create symlinks src and win32 (because win32 uses cross compilation) | * create symlinks src and win32 (because win32 uses cross compilation) | ||
* set reference version in admin/option.factory | * set reference version in admin/option.factory | ||
− | * keep changes in mkspecs/win32-x-g++/qmake.conf when installing Qt | + | * keep changes in mkspecs/win32-x-g++/qmake.conf when installing Qt |
+ | ** check differences between win32-g++/qmake.conf<br /><pre>diff -r old/mkspecs/win32-g++/qmake.conf new/mkspecs/win32-g++/qmake.conf</pre> | ||
+ | ** cp -r new/mkspecs/win32-g++ new/mkspecs/win32-x-g++ | ||
+ | ** cp old/mkspecs/win32-x-g++/qmake.conf new/mkspecs/win32-x-g++ | ||
+ | ** edit according to difference between old and new win32-g++/qmake.conf | ||
=== Mac === | === Mac === |
Revision as of 09:56, 26 January 2010
Note: source and windows must have the same reference Qt version.
Windows
- download and unpack Qt archive under VirtualBox
- move all from C:\Qt\x.x.x to a Y:\qt
- copy all to compile server:
scp -r qt/x.x.x canucks:/usr/local/Qt/x.x.x/win32-bin
- copy mingwm10.dll from a previous version into /usr/local/Qt/x.x.x/win32-bin/bin
- set version number in mkspecs/win32-x-g++/qmake.conf (in QMAKE_INCDIR_QT and QMAKE_LIBDIR_QT)
- set reference version in admin/option.factory
- before publishing any release, copy Qt tar.gz files generated during package build in /build/windows/3rdparty/Qt
scp * xxxx@geopsy.org:/var/www/download/htdocs/archives
Source
- download source archive
- copy it to /build/qt
- change version number in ./build
- run nohup ./build > build.log&
- create symlinks src and win32 (because win32 uses cross compilation)
- set reference version in admin/option.factory
- keep changes in mkspecs/win32-x-g++/qmake.conf when installing Qt
- check differences between win32-g++/qmake.conf
diff -r old/mkspecs/win32-g++/qmake.conf new/mkspecs/win32-g++/qmake.conf
- cp -r new/mkspecs/win32-g++ new/mkspecs/win32-x-g++
- cp old/mkspecs/win32-x-g++/qmake.conf new/mkspecs/win32-x-g++
- edit according to difference between old and new win32-g++/qmake.conf
- check differences between win32-g++/qmake.conf
Mac
- download source archive
- copy it to qt
- change version number in ./build
- run nohup ./build > build.log&
- set reference version in admin/option.factory
- before publishing any release, copy Qt tar.gz files generated during package build in build/3rdparty/Qt
scp * xxxx@geopsy.org:/var/www/download/htdocs/archives