2011-04-27 10:05:43 +00:00
|
|
|
#
|
2012-03-06 14:21:19 +00:00
|
|
|
# qmake configuration for qnx-x11-g++
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Written for QNX RTOS v6 with X11
|
|
|
|
#
|
|
|
|
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
|
|
TARGET_PLATFORM = unix
|
|
|
|
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
|
2012-05-18 18:22:42 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|