b883cee471
Since commit cd1dff75
, we use QMAKE_LFLAGS_CONSOLE when linking DLLs that
are built with CONFIG+=console. Thus, we must not pass options that are
specific to linking executables.
[ChangeLog][qmake] WinCE makespecs must not add /ENTRY: to
QMAKE_LFLAGS_CONSOLE and more. The flag is hard-coded in console.prf now.
This is a side effect of making it possible to specify a subsystem for
DLLs.
Change-Id: Ib481fd45b12140f9f05bf123db7152a3ddf0fa04
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
# qmake configuration for Windows Embedded Compact 7 with VS2008 on ARM targets
|
|
#
|
|
# This is just a template for creating WEC7 mkspecs for ARM targets
|
|
# Replace the SDK name with actual SDK name.
|
|
|
|
include(../common/wince/qmake.conf)
|
|
|
|
CE_SDK = WEC7_SDK_NAME # replace with actual SDK name
|
|
CE_ARCH = armv4i
|
|
|
|
DEFINES += QT_NO_CLIPBOARD QT_NO_ACCESSIBILITY QT_NO_NATIVE_GESTURES QT_NOSTANDARDSHELL_UI_MODEL _CRT_SECURE_NO_DEPRECATE _WIN32_WCE=0x700 $$CE_ARCH _AMRV7_ armv7 _ARM_
|
|
|
|
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB
|
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB
|
|
QMAKE_LFLAGS_DLL = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB /DLL /SAFESEH:NO
|
|
QMAKE_LIBFLAGS_RELEASE = /LTCG
|
|
QMAKE_LIBS = corelibc.lib coredll.lib
|
|
QMAKE_LIBS_CORE = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
|
|
QMAKE_LIBS_GUI = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
|
|
QMAKE_LIBS_NETWORK = ws2.lib $$QMAKE_LIBS_GUI
|
|
QMAKE_LIBS_OPENGL =
|
|
QMAKE_LIBS_COMPAT =
|
|
QMAKE_LIBS_OPENVG = libopenvg.lib
|
|
QMAKE_LIBS_OPENGL_ES2 = libEGL.lib libGLESv2.lib
|
|
|
|
QMAKE_RC = rc
|
|
|
|
QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
|
|
QMAKE_COMPILER_DEFINES += _MSC_VER=1500
|