summaryrefslogtreecommitdiff
path: root/examples/activeqt/simple
diff options
context:
space:
mode:
authorFredrik Orderud <forderud@gmail.com>2015-09-06 10:16:28 +0200
committerFredrik Orderud <forderud@gmail.com>2015-09-07 07:50:59 +0000
commit8f069e5f90f1f243d2d889f50a34d096f004366c (patch)
tree38a36454b36987de0adf26bd97b69fee1b3ef21e /examples/activeqt/simple
parent5d1eb1b40f1dab34d28843d93a030b4a2d499eb8 (diff)
downloadqtactiveqt-8f069e5f90f1f243d2d889f50a34d096f004366c.tar.gz
Add missing DEF files to relevant examples.
DEF files are required to enable symbol export when building ActiveX controls as in-process DLLs. This makes the menus, opengl and simple examples compatible with being built as DLLs by just changing the project template from "app" to "lib". Change-Id: I6702736505cd143aad9fa939620ce03a52cec6cb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Diffstat (limited to 'examples/activeqt/simple')
-rw-r--r--examples/activeqt/simple/simple.def6
-rw-r--r--examples/activeqt/simple/simple.pro1
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/activeqt/simple/simple.def b/examples/activeqt/simple/simple.def
new file mode 100644
index 0000000..bc82a03
--- /dev/null
+++ b/examples/activeqt/simple/simple.def
@@ -0,0 +1,6 @@
+EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
+ DumpIDL PRIVATE
diff --git a/examples/activeqt/simple/simple.pro b/examples/activeqt/simple/simple.pro
index 33d5410..28eaa62 100644
--- a/examples/activeqt/simple/simple.pro
+++ b/examples/activeqt/simple/simple.pro
@@ -8,6 +8,7 @@ QT += widgets axserver
SOURCES = main.cpp
RC_FILE = simple.rc
+DEF_FILE = simple.def
# install
target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/simple