6774157d8b
If no_generated_target_info is not set, VERSION is set, and there is no .rc file that belongs to the project, qmake creates a .rc file that contains information about the target's version and copyright, for example. This resource handling is also supported by WinRT and we can add this information to the target. On Windows Phone, winresrc.h (which is needed for resource handling) is not available though. When trying to add a .rc file to a project in Visual Studio, it also complains about winres.h not being available. Instead of hacking around the issue, we just should not support this behavior on Windows Phone. Change-Id: Ie962bfa790916fed23294110062e3572a0e317f9 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
25 lines
817 B
Plaintext
25 lines
817 B
Plaintext
#
|
|
# qmake configuration for winphone-x86-msvc2013
|
|
#
|
|
# Written for Microsoft Visual C++ 2013
|
|
#
|
|
|
|
include(../common/winrt_winphone/qmake.conf)
|
|
QMAKE_COMPILER_DEFINES += _MSC_VER=1800
|
|
QMAKE_PLATFORM = winphone $$QMAKE_PLATFORM
|
|
DEFINES += WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP X86 __X86__ __x86__
|
|
CONFIG += no_generated_target_info
|
|
|
|
QMAKE_CFLAGS += -FS
|
|
QMAKE_CXXFLAGS += -FS
|
|
QMAKE_LFLAGS += /MACHINE:X86 /NODEFAULTLIB:kernel32.lib
|
|
|
|
QMAKE_LIBS += WindowsPhoneCore.lib PhoneAppModelHost.lib
|
|
|
|
VCPROJ_ARCH = Win32
|
|
MSVC_VER = 12.0
|
|
WINSDK_VER = 8.1
|
|
WINTARGET_VER = WP81
|
|
WINRT_MANIFEST = $$PWD/../common/winrt_winphone/manifests/8.1_wp/AppxManifest.xml.in
|
|
WINRT_MANIFEST.architecture = x86
|