No X11 requirement on Linux.

This is achieved by using QPA (aka Qt Lighthouse).

http://code.google.com/p/phantomjs/issues/detail?id=163
1.5
Ariya Hidayat 2012-03-13 22:06:37 -07:00
parent c78ae190a9
commit 6c8a1c2dc1
2 changed files with 10 additions and 4 deletions

View File

@ -7,12 +7,15 @@ QT_CFG+=' -opensource' # Use the open-source license
QT_CFG+=' -confirm-license' # Silently acknowledge the license confirmation
QT_CFG+=' -v' # Makes it easier to see what header dependencies are missing
# Static build on Mac OS X only
if [[ $OSTYPE = darwin* ]]; then
QT_CFG+=' -static'
QT_CFG+=' -static' # Static build on Mac OS X only
QT_CFG+=' -arch x86'
QT_CFG+=' -cocoa' # Cocoa only, ignore Carbon
QT_CFG+=' -no-dwarf2'
else
QT_CFG+=' -system-freetype' # Freetype for text rendering
QT_CFG+=' -fontconfig' # Fontconfig for better font matching
QT_CFG+=' -qpa' # X11-less with QPA (aka Lighthouse)
fi
QT_CFG+=' -release' # Build only for release (no debugging support)

View File

@ -7,12 +7,15 @@ QT_CFG+=' -opensource' # Use the open-source license
QT_CFG+=' -confirm-license' # Silently acknowledge the license confirmation
QT_CFG+=' -v' # Makes it easier to see what header dependencies are missing
# Static build on Mac OS X only
if [[ $OSTYPE = darwin* ]]; then
QT_CFG+=' -static'
QT_CFG+=' -static' # Static build on Mac OS X only
QT_CFG+=' -arch x86'
QT_CFG+=' -cocoa' # Cocoa only, ignore Carbon
QT_CFG+=' -no-dwarf2'
else
QT_CFG+=' -system-freetype' # Freetype for text rendering
QT_CFG+=' -fontconfig' # Fontconfig for better font matching
QT_CFG+=' -qpa' # X11-less with QPA (aka Lighthouse)
fi
QT_CFG+=' -release' # Build only for release (no debugging support)