mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 13:09:08 +08:00
96f4487c77
* update to 5.12.4 * removed port qt5-modularscripts and split it functionality into more functions into qt5-base * added qt_port_hashes.cmake for simpler upgrade. * added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet * qt_<config>.conf are now copied from the build dir instead from the port dir * fixed freetype dependencies. * cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore. * introduced vcpkg_buildpath_length_warning * changed directory layout of the qt5 installation executables and mkspecs a bit.
28 lines
618 B
Diff
28 lines
618 B
Diff
diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro
|
|
index 9cb6ab0c..52c7876e 100644
|
|
--- a/src/winmain/winmain.pro
|
|
+++ b/src/winmain/winmain.pro
|
|
@@ -3,7 +3,7 @@
|
|
|
|
TEMPLATE = lib
|
|
TARGET = qtmain
|
|
-DESTDIR = $$QT.core.libs
|
|
+DESTDIR = $$QT.core.libs/manual-link
|
|
|
|
CONFIG += static
|
|
QT = core
|
|
@@ -27,7 +27,12 @@ winrt {
|
|
}
|
|
|
|
load(qt_installs)
|
|
-
|
|
+!qt_no_install_library {
|
|
+ host_build: \
|
|
+ target.path = $$[QT_HOST_LIBS]/manual-link
|
|
+ else: \
|
|
+ target.path = $$[QT_INSTALL_LIBS]/manual-link
|
|
+}
|
|
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
|
|
|
|
load(qt_targets)
|