aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackbox.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-05-19 18:44:02 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-05-26 08:38:33 +0000
commit25bbd9f0d6877a8f6b245708f6cfdfd5472ea0ff (patch)
tree8e8e09b5bd6684ffbacad32f3672504e35dbc115 /tests/auto/blackbox/tst_blackbox.h
parent495d7767af801c6d7cda0d759b89a18f490359f2 (diff)
Msvc: Handle windows module definition file
Module-definition (.def) file provide the linker with information about exports, attributes, and other information about the program to be linked. This file can be used instead of e.g. __declspec(dllexport) keywords inside of a header files to export an appropriate symbols: * https://docs.microsoft.com/en-us/cpp/build/reference/module-definition-dot-def-files?view=vs-2019 * https://docs.microsoft.com/en-us/cpp/build/reference/def-specify-module-definition-file?view=vs-2019 To make it supported, we have created the additional 'def' file tag, and now we can add the required module-definition file to the {Product|Group}'s 'files' property. Fixes: QBS-571 Change-Id: I831d2e1b8f9f061a4414a5eaac85b71584f48c5d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.h')
-rw-r--r--tests/auto/blackbox/tst_blackbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h
index 757462b80..7aa397c1e 100644
--- a/tests/auto/blackbox/tst_blackbox.h
+++ b/tests/auto/blackbox/tst_blackbox.h
@@ -181,6 +181,7 @@ private slots:
void linkerLibraryDuplicates();
void linkerLibraryDuplicates_data();
void linkerScripts();
+ void linkerModuleDefinition();
void listProducts();
void listPropertiesWithOuter();
void listPropertyOrder();