Skip to content

Instantly share code, notes, and snippets.

@azbesthu
Created February 22, 2012 18:21
Show Gist options
  • Select an option

  • Save azbesthu/1886474 to your computer and use it in GitHub Desktop.

Select an option

Save azbesthu/1886474 to your computer and use it in GitHub Desktop.
Hard coded paths for scratchbox:
qtbase/mkspecs/linux-g++-maemo/qmake.conf
# Override the default lib/include directories for scratchbox:
QMAKE_INCDIR_X11 = /usr/include/X11
QMAKE_INCDIR_OPENGL = /usr/include
QMAKE_LIBDIR_X11 = /usr/lib
QMAKE_LIBDIR_OPENGL = /usr/lib
Qt5 configure with --cross-compile:
./configure -fast -nomake demos -nomake examples -nomake tests -developer-build -opensource -confirm-license -xplatform linux-g++-maemo -force-pkg-config -little-endian -arch arm -no-pch -sysroot /home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim -release -separate-debug-info
For testing I changed the variables to
/home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/
This failed too, but with other reason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment