Tools: Application launcher/Build Instructions: Difference between revisions
From Commontk
Jump to navigationJump to search
m (→Mac) |
m (→Mac) |
||
Line 18: | Line 18: | ||
== Mac == | == Mac == | ||
=== Qt 4.7.0 == | |||
* Download the latest source | * Download the latest source | ||
cd Dashboards/Support | cd Dashboards/Support | ||
Line 26: | Line 28: | ||
<pre> | <pre> | ||
./configure -prefix /Users/jjomier/Workspace/qt-static-release-4.7.0 -confirm-license -cocoa -universal -static -release -opensource -no-largefile -no-stl -no-exceptions -no-egl -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg-nomake tools -nomake demos | ./configure -prefix /Users/jjomier/Workspace/qt-static-release-4.7.0 -confirm-license -cocoa -universal -static -release -opensource -no-largefile -no-stl -no-exceptions -no-egl -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg-nomake tools -nomake demos | ||
</pre> | |||
* Build and install | |||
make && make install | |||
=== Qt 4.7.4 == | |||
* Download the latest source | |||
cd Dashboards/Support | |||
wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz | |||
tar -xzvf qt-everywhere-opensource-src-4.7.0.tar.gz | |||
* Configure | |||
<pre> | |||
./configure -prefix /Users/jjomier/Workspace/qt-static-release-4.7.4 -confirm-license -cocoa -universal -static -release -opensource -no-largefile -no-exceptions -no-egl -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg-nomake tools -nomake demos | |||
</pre> | </pre> | ||
Line 32: | Line 48: | ||
* Remarks | * Remarks | ||
** 10.6.8 | ** 10.6.8: <code>-no-stl</code> flag shouldn't be used. See http://qt-project.org/forums/viewthread/9716/#55456 | ||
== Windows == | == Windows == |
Revision as of 14:14, 22 March 2012
Home < Tools: Application launcher < Build Instructions
Prerequisites: Build Qt statically
Linux
- Download the latest source
cd Dashboards/Support wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz tar -xzvf qt-everywhere-opensource-src-4.7.0.tar.gz
- Configure
./configure -prefix /home/jchris/Dashboards/Support/qt-static-release-4.7.0 -confirm-license -static -release -opensource -no-largefile -no-stl -no-exceptions -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg -nomake tools -nomake demos -no-gtkstyle
- Build and install
make sub-src && make install
Mac
= Qt 4.7.0
- Download the latest source
cd Dashboards/Support wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz tar -xzvf qt-everywhere-opensource-src-4.7.0.tar.gz
- Configure
./configure -prefix /Users/jjomier/Workspace/qt-static-release-4.7.0 -confirm-license -cocoa -universal -static -release -opensource -no-largefile -no-stl -no-exceptions -no-egl -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg-nomake tools -nomake demos
- Build and install
make && make install
= Qt 4.7.4
- Download the latest source
cd Dashboards/Support wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz tar -xzvf qt-everywhere-opensource-src-4.7.0.tar.gz
- Configure
./configure -prefix /Users/jjomier/Workspace/qt-static-release-4.7.4 -confirm-license -cocoa -universal -static -release -opensource -no-largefile -no-exceptions -no-egl -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-nis -no-cups -no-dbus -no-opengl -no-openvg-nomake tools -nomake demos
- Build and install
make && make install
- Remarks
- 10.6.8:
-no-stl
flag shouldn't be used. See http://qt-project.org/forums/viewthread/9716/#55456
- 10.6.8:
Windows
- Download the latest source: http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.zip
- Extract archive into C:\Dashboards\Support\qt-static-release-4.7.0
- Note: On windows, the library is built in the source tree. To avoid confusion, let's make sure the source directory is properly named
cd C:\Dashboards\Support\qt-static-release-4.7.0 configure.exe -confirm-license -static -release -opensource -arch windows -no-stl -no-exceptions -no-accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-ibase -no-sql-tds -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-script -no-scripttools -no-declarative -no-gif -no-libtiff -no-libmng -no-openssl -no-dbus -no-opengl -no-openvg -nomake tools -nomake demos
- Build
nmake
Build the launcher
Linux
cd ~/Projects git clone git://github.com/commontk/AppLauncher.git mkdir AppLauncher-Release cd AppLauncher-Release cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Dashboards/Support/qt-static-release-4.7.0/bin/qmake -DBUILD_TESTING:BOOL=ON -DBUILD_TYPE:STRING=Release ../AppLauncher
Mac
cd ~/Projects git clone git://github.com/commontk/AppLauncher.git mkdir AppLauncher-Release cd AppLauncher-Release cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Dashboards/Support/qt-static-release-4.7.0/bin/qmake -DBUILD_TESTING:BOOL=ON -DBUILD_TYPE:STRING=Release -DCMAKE_OSX_ARCHITECTURES:STRING="i386"../AppLauncher
- Note that an extra cmake variable has been specified: -DCMAKE_OSX_ARCHITECTURES:STRING="i386"
Windows
Package the launcher
Linux
Mac
Windows
Don't build the package via Visual Studio, but from the command line
"c:\Program Files\CMake 2.8\bin\cpack.exe" -G TGZ