Browse Source

misc

tags/1.9.4
falkTX 11 years ago
parent
commit
0a18a0507a
3 changed files with 13 additions and 0 deletions
  1. +2
    -0
      data/macos/build.sh
  2. +9
    -0
      data/macos/env-vars.sh
  3. +2
    -0
      source/Makefile.mk

+ 2
- 0
data/macos/build.sh View File

@@ -22,6 +22,8 @@ else
export PYRCC="pyrcc4-3.3 -py3"
fi

./configure -prefix /Users/falktx/Source/Qt-5.2.1 -release -opensource -confirm-license -no-c++11 -no-javascript-jit -no-qml-debug -force-pkg-config -qt-zlib -no-mtdev -no-gif -qt-libpng -qt-libjpeg -qt-freetype -no-openssl -qt-pcre -no-xinput2 -no-xcb-xlib -no-glib -no-cups -no-iconv -no-icu -no-fontconfig -no-dbus -no-xcb -no-eglfs -no-directfb -no-linuxfb -no-kms -no-compile-examples -nomake examples -nomake tests -make tools -make libs -qt-sql-sqlite -no-framework -no-sql-odbc

# Clean build
make clean



+ 9
- 0
data/macos/env-vars.sh View File

@@ -0,0 +1,9 @@
#!/bin/bash

export MACOS="true"
export CC="gcc-4.2"
export CXX="g++-4.2"
export CXXFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_5 -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_5"
export PYUIC="/opt/local/Library/Frameworks/Python.framework/Versions/3.3/bin/pyuic5"
export PYRCC="/opt/local/Library/Frameworks/Python.framework/Versions/3.3/bin/pyrcc5"
export PKG_CONFIG_PATH="/Users/falktx/Source/Qt-5.2.1/lib/pkgconfig"

+ 2
- 0
source/Makefile.mk View File

@@ -115,7 +115,9 @@ endif
# --------------------------------------------------------------
# Check for qt, set default version (prefer qt4)

ifneq ($(MACOS),true)
HAVE_QT4 = $(shell pkg-config --exists QtCore QtGui QtXml && echo true)
endif
HAVE_QT5 = $(shell pkg-config --exists Qt5Core Qt5Gui Qt5Xml Qt5Widgets && echo true)

ifeq ($(HAVE_QT5),true)


Loading…
Cancel
Save