mirror of https://github.com/vitalif/phantomjs
No X11 requirement on Linux.
This is achieved by using QPA (aka Qt Lighthouse). http://code.google.com/p/phantomjs/issues/detail?id=1631.5
parent
c78ae190a9
commit
6c8a1c2dc1
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue