* Option Compile-Time pour definir le chemin du dossier des fichiers de traduction : QET_LANG_PATH

* Option Compile-Time pour definir le chemin du dossier des elements communs : QET_COMMON_COLLECTION_PATH
  * Option Run-Time pour definir le chemin de la collection principale : --common-elements-dir=/path/to/elements/
  * Option Compile-Time pour autoriser ou non l'utilisation de l'option Run-Time precedente : QET_ALLOW_OVERRIDE_CED_OPTION
Les options Compile-Time sont a definir dans le fichier .pro


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@158 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-10-04 20:34:29 +00:00
parent 0dfed41a75
commit 7b71cbb7ae
3 changed files with 60 additions and 11 deletions

View File

@@ -3,7 +3,6 @@
######################################################################
TEMPLATE = app
TARGET =
DEPENDPATH += . editor lang
INCLUDEPATH += . editor
@@ -64,10 +63,10 @@ HEADERS += aboutqet.h \
editor/terminaleditor.h \
editor/texteditor.h \
editor/textfieldeditor.h \
diagramcommands.h \
diagramtextitem.h \
insetproperties.h \
conductorproperties.h
diagramcommands.h \
diagramtextitem.h \
insetproperties.h \
conductorproperties.h
SOURCES += aboutqet.cpp \
borderinset.cpp \
conductor.cpp \
@@ -125,10 +124,18 @@ SOURCES += aboutqet.cpp \
editor/texteditor.cpp \
editor/textfieldeditor.cpp \
diagramcommands.cpp \
diagramtextitem.cpp \
conductorproperties.cpp
diagramtextitem.cpp \
conductorproperties.cpp
RESOURCES += qelectrotech.qrc
TRANSLATIONS += lang/qet_en.ts lang/qt_fr.ts
RC_FILE = ico/windows_icon/application_icon/qelectrotech.rc
QT += xml
CONFIG += debug_and_release
CONFIG(debug, debug|release) {
TARGET = qelectrotech
} else {
TARGET = qelectrotech.release
}
;DEFINES += QET_LANG_PATH='\\"/path/to/qelectrotech/lang/\\"'
;DEFINES += QET_COMMON_COLLECTION_PATH='\\"/path/to/qelectrotech/elements/\\"'
DEFINES += QET_ALLOW_OVERRIDE_CED_OPTION