diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-15 17:04:27 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-17 12:13:00 +0200 |
commit | b5af1408099dedd132f36e04d19cb5771a23ec28 (patch) | |
tree | 85109c13469dcde91aea87e29ed52c116732fbf8 /src/src.pro | |
parent | 8ec4fd9cffe7977f6d7cb68ce38de4386a5795d6 (diff) |
Generalize the winmain/qtmain entry-point library
The use-case is relevant for other platforms as well.
Now that Qt has a module system we can also replace a lot of the
hand crafted logic for linking with simpler constructs.
Change-Id: Ib6853aaf81bfea79c31f2de741d65b4b56f23ef6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/src.pro b/src/src.pro index 91cd6d4558..34fbd9d0f3 100644 --- a/src/src.pro +++ b/src/src.pro @@ -64,9 +64,9 @@ src_tools_qvkgen.target = sub-qvkgen force_bootstrap: src_tools_qvkgen.depends = src_tools_bootstrap else: src_tools_qvkgen.depends = src_corelib -src_winmain.subdir = $$PWD/winmain -src_winmain.target = sub-winmain -src_winmain.depends = sub-corelib # just for the module .pri file +src_entrypoint.subdir = $$PWD/entrypoint +src_entrypoint.target = sub-entrypoint +src_entrypoint.depends = sub-corelib # just for the module .pri file src_corelib.subdir = $$PWD/corelib src_corelib.target = sub-corelib @@ -157,7 +157,9 @@ qtConfig(regularexpression):!qtConfig(system-pcre2):pcre2 { } TOOLS = src_tools_moc src_tools_rcc src_tools_tracegen src_tools_qlalr SUBDIRS += src_corelib src_tools_qlalr -win32:SUBDIRS += src_winmain + +win32:SUBDIRS += src_entrypoint + qtConfig(network) { SUBDIRS += src_network src_plugins.depends += src_network |