vym.pro
author insilmaril
Tue, 23 Mar 2010 11:54:30 +0000
branchrelease-1-12-maintained
changeset 81 876eed30ba3b
parent 80 5c5b4464b24f
permissions -rw-r--r--
Patch from Xavier Oswald to compile with older compilers
     1 TEMPLATE = app
     2 LANGUAGE = C++
     3 CONFIG += qt \
     4     warn_on \
     5     debug_and_release
     6 CONFIG += x86 \
     7     ppc
     8 TRANSLATIONS += lang/vym_de.ts
     9 TRANSLATIONS += lang/vym_en.ts
    10 TRANSLATIONS += lang/vym_es.ts
    11 TRANSLATIONS += lang/vym_fr.ts
    12 TRANSLATIONS += lang/vym_it.ts
    13 TRANSLATIONS += lang/vym_pt_BR.ts
    14 TRANSLATIONS += lang/vym_ru.ts
    15 TRANSLATIONS += lang/vym_zh_CN.ts
    16 TRANSLATIONS += lang/vym_sv.ts
    17 TRANSLATIONS += lang/vym_zh_TW.ts
    18 
    19 # Manifest embedding was suggested by Qt docs somewhere...
    20 win32:CONFIG += embed_manifest_exe
    21 
    22 # Without this, M_PI, and M_PI_2 won`t be defined.
    23 win32:DEFINES *= _USE_MATH_DEFINES
    24 ICON = icons/vym.icns
    25 QT += qt3support
    26 QT += network
    27 HEADERS += aboutdialog.h \
    28     animpoint.h \
    29     attribute.h \
    30     attributedelegate.h \
    31     attributedialog.h \
    32     attributewidget.h \
    33     branchobj.h \
    34     branchpropwindow.h \
    35     editxlinkdialog.h \
    36     exportoofiledialog.h \
    37     exportxhtmldialog.h \
    38     exports.h \
    39     extrainfodialog.h \
    40     file.h \
    41     findwindow.h \
    42     flagobj.h \
    43     flagrowobj.h \
    44     floatimageobj.h \
    45     floatobj.h \
    46     frameobj.h \
    47     geometry.h \
    48     headingobj.h \
    49     highlighter.h \
    50     historywindow.h \
    51     imageobj.h \
    52     imports.h \
    53     linkablemapobj.h \
    54     mainwindow.h \
    55     mapcenterobj.h \
    56     mapeditor.h \
    57     mapobj.h \
    58     misc.h \
    59     noteobj.h \
    60     options.h \
    61     ornamentedobj.h \
    62     parser.h \
    63     process.h \
    64     selection.h \
    65     showtextdialog.h \
    66     simplescripteditor.h \
    67     texteditor.h \
    68     version.h \
    69     vymmodel.h \
    70     xlinkobj.h \
    71     xml-base.h \
    72     xml-vym.h \
    73     xml-freemind.h \
    74     xmlobj.h \
    75     xsltproc.h \
    76     settings.h \
    77     warningdialog.h \
    78     win32/stdint.h
    79 SOURCES += aboutdialog.cpp \
    80     animpoint.cpp \
    81     attribute.cpp \
    82     attributedelegate.cpp \
    83     attributedialog.cpp \
    84     attributewidget.cpp \
    85     branchobj.cpp \
    86     branchpropwindow.cpp \
    87     editxlinkdialog.cpp \
    88     exportoofiledialog.cpp \
    89     exports.cpp \
    90     exportxhtmldialog.cpp \
    91     extrainfodialog.cpp \
    92     file.cpp \
    93     findwindow.cpp \
    94     flagobj.cpp \
    95     flagrowobj.cpp \
    96     floatimageobj.cpp \
    97     floatobj.cpp \
    98     frameobj.cpp \
    99     geometry.cpp \
   100     headingobj.cpp \
   101     highlighter.cpp \
   102     historywindow.cpp \
   103     imageobj.cpp \
   104     imports.cpp \
   105     linkablemapobj.cpp \
   106     main.cpp \
   107     mainwindow.cpp \
   108     mapcenterobj.cpp \
   109     mapeditor.cpp \
   110     mapobj.cpp \
   111     misc.cpp \
   112     noteobj.cpp \
   113     options.cpp \
   114     ornamentedobj.cpp \
   115     parser.cpp \
   116     process.cpp \
   117     selection.cpp \
   118     showtextdialog.cpp \
   119     simplescripteditor.cpp \
   120     texteditor.cpp \
   121     version.cpp \
   122     vymmodel.cpp \
   123     xlinkobj.cpp \
   124     xml-base.cpp \
   125     xml-vym.cpp \
   126     xml-freemind.cpp \
   127     xmlobj.cpp \
   128     xsltproc.cpp \
   129     settings.cpp \
   130     warningdialog.cpp
   131 FORMS = attributewidget.ui \
   132     branchpropwindow.ui \
   133     exportxhtmldialog.ui \
   134     extrainfodialog.ui \
   135     editxlinkdialog.ui \
   136     historywindow.ui \
   137     simplescripteditor.ui \
   138     showtextdialog.ui \
   139     warningdialog.ui
   140 win32 { 
   141     HEADERS += mkdtemp.h
   142     SOURCES += mkdtemp.cpp
   143     RC_FILE = vym.rc
   144 }
   145 
   146 # The following lines were inserted by qt3to4
   147 QT += xml
   148 TARGET = vym
   149 isEmpty( PREFIX ) { 
   150     PREFIX = /usr/local
   151     count( INSTALLDIR, 1 ) { 
   152         PREFIX = $${INSTALLDIR}
   153         message( "Please use PREFIX instead of INSTALLDIR" )
   154     }
   155 }
   156 isEmpty( BINDIR ):BINDIR = $${PREFIX}/bin
   157 isEmpty( DATADIR ):DATADIR = $${PREFIX}/share
   158 isEmpty( DOCDIR ):DOCDIR = $${DATADIR}/doc/packages/vym
   159 message( "Installation directory" )
   160 message( $$PREFIX )
   161 target.path = $${BINDIR}
   162 INSTALLS += target
   163 support.files = styles/ \
   164     scripts/ \
   165     icons/ \
   166     flags/ \
   167     lang/ \
   168     macros/ \
   169     exports/ \
   170     demos/
   171 support.path = $${DATADIR}/vym
   172 INSTALLS += support
   173 doc.files = doc/vym.pdf
   174 doc.path = $${DOCDIR}
   175 INSTALLS += doc
   176 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"