mkspecs/unsupported/qnx-g++/qmake.conf
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 #
       
     2 # qmake configuration for qnx-g++
       
     3 #
       
     4 # Written for QNX RTOS v6 with X11
       
     5 #
       
     6 
       
     7 MAKEFILE_GENERATOR	= UNIX
       
     8 TEMPLATE		= app
       
     9 CONFIG			+= qt warn_on release link_prl
       
    10 QT			+= core gui
       
    11 
       
    12 include(../common/g++.conf)
       
    13 include(../common/unix.conf)
       
    14 
       
    15 QMAKE_CFLAGS_THREAD	= -D_REENTRANT
       
    16 QMAKE_CXXFLAGS_THREAD	= $$QMAKE_CLFAGS_THREAD
       
    17 QMAKE_COMPILER_DEFINES  += __QNXNTO__
       
    18 
       
    19 QMAKE_INCDIR		=
       
    20 QMAKE_LIBDIR		=
       
    21 QMAKE_INCDIR_X11	= /opt/X11R6/include
       
    22 QMAKE_LIBDIR_X11	= /opt/X11R6/lib
       
    23 QMAKE_INCDIR_QT		= $$[QT_INSTALL_HEADERS]
       
    24 QMAKE_LIBDIR_QT		= $$[QT_INSTALL_LIBS]
       
    25 QMAKE_INCDIR_OPENGL	= /opt/X11R6/include
       
    26 QMAKE_LIBDIR_OPENGL	= /opt/X11R6/lib
       
    27 
       
    28 #QMAKE_LIBS		= -lunix
       
    29 QMAKE_LIBS		=
       
    30 QMAKE_LIBS_DYNLOAD	=
       
    31 QMAKE_LIBS_X11		= -lXext -lX11 -lm -lsocket
       
    32 QMAKE_LIBS_X11SM	= -lSM -lICE
       
    33 QMAKE_LIBS_OPENGL	= -lGLU -lGL
       
    34 QMAKE_LIBS_OPENGL_QT	= -lGL
       
    35 QMAKE_LIBS_THREAD	=
       
    36 QMAKE_LIBS_NETWORK      = -lsocket
       
    37 
       
    38 QMAKE_MOC		= $$[QT_INSTALL_BINS]/moc
       
    39 QMAKE_UIC		= $$[QT_INSTALL_BINS]/uic
       
    40 
       
    41 QMAKE_AR		= ar cqs
       
    42 QMAKE_RANLIB		=
       
    43 
       
    44 QMAKE_TAR		= tar -cf
       
    45 QMAKE_GZIP		= gzip -9f
       
    46 
       
    47 QMAKE_COPY		= cp -f
       
    48 QMAKE_COPY_FILE       = $(COPY)
       
    49 QMAKE_COPY_DIR        = $(COPY) -r
       
    50 QMAKE_MOVE		= mv -f
       
    51 QMAKE_DEL_FILE		= rm -f
       
    52 QMAKE_DEL_DIR		= rmdir
       
    53 QMAKE_CHK_DIR_EXISTS	= test -d
       
    54 QMAKE_MKDIR		= mkdir -p
       
    55 QMAKE_STRIP           = strip
       
    56 QMAKE_STRIPFLAGS_LIB += --strip-unneeded
       
    57 QMAKE_CHK_DIR_EXISTS  = test -d
       
    58 QMAKE_MKDIR           = mkdir -p
       
    59 load(qt_config)