summaryrefslogtreecommitdiff
path: root/examples
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
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')
-rw-r--r--examples/activeqt/menus/menus.def6
-rw-r--r--examples/activeqt/menus/menus.pro1
-rw-r--r--examples/activeqt/opengl/opengl.def6
-rw-r--r--examples/activeqt/opengl/opengl.pro1
-rw-r--r--examples/activeqt/simple/simple.def6
-rw-r--r--examples/activeqt/simple/simple.pro1
6 files changed, 21 insertions, 0 deletions
diff --git a/examples/activeqt/menus/menus.def b/examples/activeqt/menus/menus.def
new file mode 100644
index 0000000..bc82a03
--- /dev/null
+++ b/examples/activeqt/menus/menus.def
@@ -0,0 +1,6 @@
+EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
+ DumpIDL PRIVATE
diff --git a/examples/activeqt/menus/menus.pro b/examples/activeqt/menus/menus.pro
index 0aa677e..f5a7890 100644
--- a/examples/activeqt/menus/menus.pro
+++ b/examples/activeqt/menus/menus.pro
@@ -9,6 +9,7 @@ QT += widgets axserver
SOURCES = main.cpp menus.cpp
HEADERS = menus.h
RC_FILE = menus.rc
+DEF_FILE = menus.def
# install
target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/menus
diff --git a/examples/activeqt/opengl/opengl.def b/examples/activeqt/opengl/opengl.def
new file mode 100644
index 0000000..bc82a03
--- /dev/null
+++ b/examples/activeqt/opengl/opengl.def
@@ -0,0 +1,6 @@
+EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
+ DumpIDL PRIVATE
diff --git a/examples/activeqt/opengl/opengl.pro b/examples/activeqt/opengl/opengl.pro
index 47693f4..d3e44c4 100644
--- a/examples/activeqt/opengl/opengl.pro
+++ b/examples/activeqt/opengl/opengl.pro
@@ -11,6 +11,7 @@ SOURCES = glbox.cpp \
main.cpp
RC_FILE = opengl.rc
+DEF_FILE = opengl.def
# install
target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/opengl
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