~x2go/x2go/x2goclient_master

« back to all changes in this revision

Viewing changes to qtbrowserplugin-2.4_1-opensource/src/qtbrowserplugin.pri

  • Committer: Reinhard Tartler
  • Author(s): Oleksander Schneyder
  • Date: 2011-01-27 20:43:11 UTC
  • Revision ID: git-v1:af42fa37d555c1031810a868db687f39c2f9e574
Imported x2goclient_3.01-16.tar.gz

Summary: Imported x2goclient_3.01-16.tar.gz
Keywords:

Imported x2goclient_3.01-16.tar.gz
into Git repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TEMPLATE = lib
 
2
CONFIG  += dll
 
3
win32-* {
 
4
  # Uncomment the following line to build a plugin that can be used also in 
 
5
  # Internet Explorer, through ActiveX.
 
6
  # CONFIG += qaxserver
 
7
} else {
 
8
  CONFIG += plugin
 
9
}
 
10
 
 
11
INCLUDEPATH     += $$PWD
 
12
DEPENDPATH      += $$PWD
 
13
 
 
14
SOURCES        += $$PWD/qtbrowserplugin.cpp
 
15
HEADERS        += $$PWD/qtbrowserplugin.h qtnpapi.h
 
16
 
 
17
win32-* {
 
18
  SOURCES     += $$PWD/qtbrowserplugin_win.cpp
 
19
  !isEmpty(TARGET) {
 
20
    TARGET = np$$TARGET
 
21
  }
 
22
  LIBS        += -luser32
 
23
 
 
24
  qaxserver {
 
25
    DEF_FILE       += $$PWD/qtbrowserpluginax.def
 
26
  } else {
 
27
    DEF_FILE       += $$PWD/qtbrowserplugin.def
 
28
  }
 
29
 
 
30
  firefox {
 
31
    exists("c:/program files/mozilla firefox/plugins") {
 
32
      DLLDESTDIR += "c:/program files/mozilla firefox/plugins"
 
33
    } else {
 
34
      message("Firefox not found at default location")
 
35
    }
 
36
  }
 
37
  opera {
 
38
    exists("c:/program files/opera/program/plugins") {
 
39
      DLLDESTDIR += "c:/program files/opera/program/plugins"
 
40
    } else {
 
41
      message("Opera not found at default location")
 
42
    }
 
43
  }
 
44
  netscape {
 
45
    exists("c:/program files/netscape/netscape browser/plugins") {
 
46
      DLLDESTDIR += "c:/program files/netscape/netscape browser/plugins"
 
47
    } else {
 
48
      message("Netscape not found at default location")
 
49
    }
 
50
  }
 
51
} else:mac {
 
52
  CONFIG += plugin_bundle
 
53
  SOURCES     += $$PWD/qtbrowserplugin_mac.cpp
 
54
  #target.path = /Library/Internet\ Plugins
 
55
  #INSTALLS += target
 
56
} else {
 
57
  SOURCES     += $$PWD/qtbrowserplugin_x11.cpp
 
58
  INCLUDEPATH += /usr/X11R6/include
 
59
  
 
60
  # Avoiding symbol clash with other instances of the Qt library
 
61
  # (ref. developingplugins.html in the doc.):
 
62
  #
 
63
  # For Qt 4.4 and later, just configure Qt to use a separate namespace:
 
64
  # configure -qtnamespace SomeNamespace
 
65
  #
 
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.
 
72
  #
 
73
  # QMAKE_LFLAGS += -Wl,-Bsymbolic
 
74
}