1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
include(../common.pri)
QT += script \
xmlpatterns \
widgets
unix:QT += x11extras
TEMPLATE = lib
CONFIG += dll
unix:CONFIG += link_pkgconfig
unix:PKGCONFIG += $$PKGCONFIG_OPENCV
DEFINES += ACTIONTOOLS_LIBRARY
TARGET = actiontools
DESTDIR = ..
FORMS += codeeditordialog.ui \
resourcenamedialog.ui \
screenshotwizardpage.ui \
savescreenshotwizardpage.ui
include(qhotkey.pri)
include(qxtsmtp/qxtsmtp.pri)
include(qxtcore/qxtcore.pri)
include(widgets.pri)
include(parameters.pri)
include(code/code.pri)
include(qtimagefilters/qtimagefilters.pri)
include(qtsingleapplication/qtsingleapplication.pri)
SOURCES += actionfactory.cpp \
actioninstance.cpp \
actiondefinition.cpp \
codeeditordialog.cpp \
codehighlighter.cpp \
script.cpp \
crossplatform.cpp \
windowhandle.cpp \
keyinput.cpp \
parameter.cpp \
subparameter.cpp \
actioninstancebuffer.cpp \
scriptcompleter.cpp \
keywords.cpp \
actionexception.cpp \
helpbutton.cpp \
keysymhelper.cpp \
ifactionvalue.cpp \
keymapper.cpp \
registry.cpp \
devicecopythread.cpp \
datacopyactioninstance.cpp \
pointitemdelegate.cpp \
actionpack.cpp \
opencvalgorithms.cpp \
systeminputreceiver.cpp \
systeminputtask.cpp \
systeminputrecorder.cpp \
numberformat.cpp \
resource.cpp \
screenshooter.cpp \
targetwindow.cpp \
imagelabel.cpp \
resourcenamedialog.cpp \
screenshotwizard.cpp \
screenshotwizardpage.cpp \
savescreenshotwizardpage.cpp \
parametercontainer.cpp \
scriptlinemodel.cpp \
keyboardkey.cpp \
messagehandler.cpp
HEADERS += actiontools_global.h \
actionpack.h \
actionfactory.h \
actiondefinition.h \
actioninstance.h \
parameter.h \
subparameter.h \
scriptparameter.h \
codeeditordialog.h \
codehighlighter.h \
linenumberarea.h \
script.h \
crossplatform.h \
windowhandle.h \
keyinput.h \
actioninstancebuffer.h \
settings.h \
scriptcompleter.h \
keywords.h \
actionexception.h \
helpbutton.h \
xdisplayhelper.h \
keysymhelper.h \
ifactionvalue.h \
keymapper.h \
registry.h \
devicecopythread.h \
datacopyactioninstance.h \
pointitemdelegate.h \
actiondefinitionenums.h \
name.h \
opencvalgorithms.h \
matchingpointlist.h \
systeminputreceiver.h \
systeminputtask.h \
systeminputlistener.h \
systeminput.h \
systeminputrecorder.h \
resource.h \
numberformat.h \
screenshooter.h \
parametercontainer.h \
targetwindow.h \
imagelabel.h \
resourcenamedialog.h \
screenshotwizard.h \
screenshotwizardpage.h \
savescreenshotwizardpage.h \
opencvalgorithms_private.h \
scriptlinemodel.h \
keyboardkey.hpp \
swappairs.hpp \
messagehandler.h
win32:SOURCES += keyboardkey_windows.cpp
unix:SOURCES += keysym2ucs.cpp \
keyboardkey_xkb.cpp
unix:HEADERS += keysym2ucs.h
win32:LIBS += -luser32 \
-ladvapi32 \
-lgdi32 \
-lPsapi \
-L$${OPENCV_LIB} \
-l$${OPENCV_LIB_CORE} \
-l$${OPENCV_LIB_IMGPROC}
unix:LIBS += -lXtst \
-lX11
TRANSLATIONS = ../locale/actiontools_fr_FR.ts
RESOURCES += actiontools.qrc
INCLUDEPATH += . \
../tools
win32:INCLUDEPATH += $${BOOST_INCLUDE} $${OPENCV_INCLUDE}
LIBS += -L.. \
-ltools
unix {
target.path = $${PREFIX}/$${LIBDIR}/actiona
locales.path = $${PREFIX}/share/actiona/locale
locales.files = ../locale/actiontools_fr_FR.qm
locales.CONFIG = no_check_exist
INSTALLS += target locales
}
|