Warning, /sdk/lokalize/src/lokalize.pro is written in an unsupported language. File is not indexed.

0001 #-------------------------------------------------
0002 #
0003 # Project created by QtCreator 2012-06-06T01:26:21
0004 #
0005 #-------------------------------------------------
0006 
0007 QT       += core widgets xml sql
0008 
0009 TARGET = lokalize
0010 mac: TARGET = Lokalize
0011 win32: TARGET = Lokalize
0012 TEMPLATE = app
0013 
0014 
0015 SOURCES += main.cpp\
0016 ##    lokalizemainwindow.cpp
0017     actionproxy.cpp\
0018     editortab.cpp\
0019 #    editortab_findreplace.cpp
0020     editorview.cpp\
0021     xlifftextedit.cpp\
0022     syntaxhighlighter.cpp\
0023     completionstorage.cpp\
0024     phaseswindow.cpp\
0025     noteeditor.cpp\
0026     msgctxtview.cpp\
0027     binunitsview.cpp\
0028     cataloglistview/cataloglistview.cpp\
0029     cataloglistview/catalogmodel.cpp\
0030     common/headerviewmenu.cpp\
0031     common/domroutines.cpp\
0032     common/fastsizehintitemdelegate.cpp\
0033     common/flowlayout.cpp\
0034     common/termlabel.cpp\
0035     common/languagelistmodel.cpp\
0036     common/stemming.cpp\
0037     common/htmlhelpers.cpp\
0038     glossary/glossaryview.cpp\
0039     glossary/glossary.cpp\
0040     glossary/glossarywindow.cpp\
0041     mergemode/mergecatalog.cpp\
0042     mergemode/mergeview.cpp\
0043     alttransview.cpp\
0044     common/diff.cpp\
0045     project/project.cpp\
0046 #    project/projectmodel.cpp
0047 #    project/projectwidget.cpp
0048 #    project/projecttab.cpp
0049 #    project/poextractor.cpp
0050 ##    prefs/prefs.cpp
0051 #    webquery/webqueryview.cpp
0052 #    webquery/webquerycontroller.cpp
0053 #    webquery/myactioncollectionview.cpp
0054 #    tools/widgettextcaptureconfig.cpp
0055     filesearch/filesearchtab.cpp\
0056     tm/tmview.cpp\
0057     tm/tmscanapi.cpp\
0058     tm/jobs.cpp\
0059     tm/dbfilesmodel.cpp\
0060     tm/tmmanager.cpp\
0061     tm/tmtab.cpp\
0062     tm/qaview.cpp\
0063     tm/qamodel.cpp\
0064     catalog/phase.cpp\
0065     catalog/cmd.cpp\
0066     catalog/pos.cpp\
0067     catalog/catalog.cpp\
0068     catalog/catalogstring.cpp\
0069     catalog/gettextheader.cpp\
0070     catalog/gettext/gettextstorage.cpp\
0071     catalog/gettext/catalogitem.cpp\
0072     catalog/gettext/importplugin.cpp\
0073     catalog/gettext/gettextimport.cpp\
0074     catalog/gettext/gettextexport.cpp\
0075     catalog/xliff/xliffstorage.cpp\
0076     catalog/ts/tsstorage.cpp
0077 
0078 mac: CONFIG += objective_c
0079 mac: OBJECTIVE_SOURCES += common/machelpers.mm
0080 win32: SOURCES += common/winhelpers.cpp
0081 unix:!mac: SOURCES += common/unixhelpers.cpp
0082 
0083 HEADERS  += editortab.h\
0084     editorview.h\
0085     xlifftextedit.h\
0086     syntaxhighlighter.h\
0087 ##    completionstorage.h\
0088     phaseswindow.h\
0089     noteeditor.h\
0090     msgctxtview.h\
0091     binunitsview.h\
0092     cataloglistview/cataloglistview.h\
0093     cataloglistview/catalogmodel.h\
0094     common/headerviewmenu.h\
0095     common/fastsizehintitemdelegate.h\
0096     common/flowlayout.h\
0097     common/termlabel.h\
0098     common/languagelistmodel.h\
0099     common/stemming.h\
0100     glossary/glossaryview.h\
0101     glossary/glossary.h\
0102     glossary/glossarywindow.h\
0103     mergemode/mergecatalog.h\
0104     mergemode/mergeview.h\
0105     alttransview.h\
0106     project/project.h\
0107 #    project/projectmodel.h
0108 #    project/projectwidget.h
0109 #    project/projecttab.h
0110 #    project/poextractor.h
0111 ##    prefs/prefs.h
0112 #    webquery/webqueryview.h
0113 #    webquery/webquerycontroller.h
0114 #    webquery/myactioncollectionview.h
0115 #    tools/widgettextcaptureconfig.h
0116     filesearch/filesearchtab.h\
0117     tm/tmview.h\
0118 ##    tm/tmscanapi.h\
0119     tm/jobs.h\
0120     tm/dbfilesmodel.h\
0121     tm/tmmanager.h\
0122     tm/tmtab.h\
0123     tm/qaview.h\
0124     tm/qamodel.h\
0125     catalog/phase.h\
0126     catalog/cmd.h\
0127     catalog/pos.h\
0128     catalog/catalog.h\
0129     catalog/catalogstring.h
0130 
0131 FORMS    +=    glossary/termedit.ui\
0132     tm/queryoptions.ui\
0133     tm/managedatabases.ui\
0134     tm/dbparams.ui\
0135     filesearch/filesearchoptions.ui\
0136     filesearch/massreplaceoptions.ui
0137 
0138 INCLUDEPATH += catalog catalog/gettext catalog/xliff catalog/ts cataloglistview mergemode glossary tm filesearch project common filesearch
0139 
0140 #unix: LIBS += -lhunspell
0141 
0142 CONFIG += exceptions_off c++11 stl_off
0143 
0144 mac: QMAKE_LFLAGS += -dead_strip
0145 mac: ICON = ../icons/osx/Lokalize.icns
0146 mac: QMAKE_INFO_PLIST = ../icons/osx/Info.plist
0147 mac: QMAKE_POST_LINK += cp -n ../icons/osx/LokalizePo*.icns ../icons/osx/LokalizeXliff.icns Lokalize.app/Contents/Resources/
0148 
0149 
0150 #remove this block to get a simpler build
0151 sonnet_static
0152 {
0153     DEFINES += SONNET_STATIC SONNETCORE_EXPORT="" SONNETUI_EXPORT=""
0154     INCLUDEPATH += ../../sonnet/src/core
0155     INCLUDEPATH += ../../sonnet/src/ui
0156     win32:LIBS += -L../../sonnet/src/core/release -lsonnet-core
0157     win32:LIBS += -L../../sonnet/src/ui/release -lsonnet-ui
0158     win32:LIBS += -L../../sonnet/src/plugins/hunspell/release -lsonnet-hunspell
0159     mac:LIBS += -L../../sonnet/src/core -lsonnet-core
0160     mac:LIBS += -L../../sonnet/src/ui -lsonnet-ui
0161     mac:LIBS += -L../../sonnet/src/plugins/hunspell -lsonnet-hunspell
0162     mac:LIBS += -L../../sonnet/src/plugins/nsspellchecker -lsonnet-nsspellchecker
0163 
0164     DEFINES += HAVE_HUNSPELL
0165     #win32: DEFINES += HUNSPELL_STATIC
0166     INCLUDEPATH += ../../hunspell/src/hunspell
0167     INCLUDEPATH += ../../hunspell/src
0168     mac:LIBS   += -L../../hunspell/src/hunspell/.libs/ -lhunspell-1.2
0169     win32:LIBS += -L../../hunspell/src/win_api/x64/Release_dll -llibhunspell
0170     win32:system("copy ..\\..\\hunspell\\src\\win_api\\x64\\Release_dll\\libhunspell.dll release")
0171 
0172 }
0173