Tools: Application launcher/Build Instructions: Difference between revisions

From Commontk
Jump to navigationJump to search
Line 41: Line 41:
  mkdir AppLauncher-Release
  mkdir AppLauncher-Release
  cd 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
  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 -DADDITIONAL_CXX_FLAGS:STRING="-headerpad_max_install_names -arch i386"../AppLauncher
 
* Note extra Cpp flags have been specified: -headerpad_max_install_names -arch i386

Revision as of 10:41, 8 October 2010

Home < Tools: Application launcher < Build Instructions

Back to CTKAppLauncher page


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
  • Build and install
make && make install

Mac

  • 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

Windows

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 -DADDITIONAL_CXX_FLAGS:STRING="-headerpad_max_install_names -arch i386"../AppLauncher
  • Note extra Cpp flags have been specified: -headerpad_max_install_names -arch i386