204176483c
not strictly necessary, but nicer. QMAKE_PLATFORM (and thus CONFIG) now also contains the name of the OS, and its family (if applicable, e.g., bsd). this also adds more feature search paths. Change-Id: I3ab971e6e3b2b32cae53b95e4bc67a86688bc5cb Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
44 lines
939 B
Plaintext
44 lines
939 B
Plaintext
#
|
|
# qmake configuration for qnx-x11-g++
|
|
#
|
|
# Written for QNX RTOS v6 with X11
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
QMAKE_PLATFORM = qnx
|
|
TEMPLATE = app
|
|
CONFIG += qt warn_on release link_prl
|
|
QT += core gui
|
|
|
|
include(../common/gcc-base-unix.conf)
|
|
include(../common/g++-unix.conf)
|
|
include(../common/unix.conf)
|
|
|
|
QMAKE_CFLAGS_THREAD = -D_REENTRANT
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CLFAGS_THREAD
|
|
QMAKE_COMPILER_DEFINES += __QNXNTO__
|
|
|
|
QMAKE_INCDIR =
|
|
QMAKE_LIBDIR =
|
|
QMAKE_INCDIR_X11 = /opt/X11R6/include
|
|
QMAKE_LIBDIR_X11 = /opt/X11R6/lib
|
|
QMAKE_INCDIR_OPENGL = /opt/X11R6/include
|
|
QMAKE_LIBDIR_OPENGL = /opt/X11R6/lib
|
|
|
|
#QMAKE_LIBS = -lunix
|
|
QMAKE_LIBS =
|
|
QMAKE_LIBS_DYNLOAD =
|
|
QMAKE_LIBS_X11 = -lXext -lX11 -lm -lsocket
|
|
QMAKE_LIBS_OPENGL = -lGL
|
|
QMAKE_LIBS_OPENGL_QT = -lGL
|
|
QMAKE_LIBS_THREAD =
|
|
QMAKE_LIBS_NETWORK = -lsocket
|
|
|
|
QMAKE_AR = ar cqs
|
|
QMAKE_RANLIB =
|
|
|
|
QMAKE_STRIP = strip
|
|
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
|
|
|
load(qt_config)
|