4
# Uncomment the following line to build a plugin that can be used also in
5
# Internet Explorer, through ActiveX.
14
SOURCES += $$PWD/qtbrowserplugin.cpp
15
HEADERS += $$PWD/qtbrowserplugin.h qtnpapi.h
18
SOURCES += $$PWD/qtbrowserplugin_win.cpp
25
DEF_FILE += $$PWD/qtbrowserpluginax.def
27
DEF_FILE += $$PWD/qtbrowserplugin.def
31
exists("c:/program files/mozilla firefox/plugins") {
32
DLLDESTDIR += "c:/program files/mozilla firefox/plugins"
34
message("Firefox not found at default location")
38
exists("c:/program files/opera/program/plugins") {
39
DLLDESTDIR += "c:/program files/opera/program/plugins"
41
message("Opera not found at default location")
45
exists("c:/program files/netscape/netscape browser/plugins") {
46
DLLDESTDIR += "c:/program files/netscape/netscape browser/plugins"
48
message("Netscape not found at default location")
52
CONFIG += plugin_bundle
53
SOURCES += $$PWD/qtbrowserplugin_mac.cpp
54
#target.path = /Library/Internet\ Plugins
57
SOURCES += $$PWD/qtbrowserplugin_x11.cpp
58
INCLUDEPATH += /usr/X11R6/include
60
# Avoiding symbol clash with other instances of the Qt library
61
# (ref. developingplugins.html in the doc.):
63
# For Qt 4.4 and later, just configure Qt to use a separate namespace:
64
# configure -qtnamespace SomeNamespace
66
# For Qt 4.3: Uncomment the line below.
67
# It makes the dynamic linker prefer our own Qt symbols for the plugin,
68
# provided that our Qt is statically built and linked into the
69
# plugin. Note that to force the linker to prefer the static Qt
70
# libraries (.a files), the dynamic libraries (.so) files must not
71
# be present in the lib directory.
73
# QMAKE_LFLAGS += -Wl,-Bsymbolic