Permalink
Browse files

config dialog

  • Loading branch information...
1 parent 5a864e0 commit c2289e71a1be9f03b8296b5969c488f697dfee72 @zdenop committed Aug 19, 2011
View
@@ -1,45 +1,49 @@
-TARGET = qt4tesseract
-TEMPLATE = app
-QT += core gui
-
-CONFIG += release qt plugin static
-
-OBJECTS_DIR += temp
-MOC_DIR += temp
-UI_DIR += temp
-RCC_DIR += temp
-
-SOURCES += src/main.cpp \
- src/mainwindow.cpp
-HEADERS += src/mainwindow.h
-
-FORMS += ui/mainwindow.ui
-
-TRANSLATIONS += resources/translations/qt4tesseract_en.ts \
- resources/translations/qt4tesseract_et.ts \
- resources/translations/qt4tesseract_sk.ts
-CODECFORTR = UTF-8
-
-RESOURCES = resources/qt4tesseract.qrc
-
-
-win32 {
- Debug:CONFIG += console
- RC_FILE = resources/qt4tesseract.rc
- Release:DEFINES += NO_CONSOLE
- updateqm.input = TRANSLATIONS
- updateqm.output = resources/translations/${QMAKE_FILE_BASE}.qm
- updateqm.commands = $$QMAKE_LRELEASE \
- -silent \
- ${QMAKE_FILE_IN} \
- -qm \
- resources/translations/${QMAKE_FILE_BASE}.qm
- updateqm.CONFIG += no_link
-
- localize.depends = resources/translations/*.qm
- localize.path = resources/translations/
- localize.files = resources/translations/*.qm
- localize.commands = lrelease resources/translations/*ts
-}
-
-!contains(CONFIG, build_pass) system(lrelease qt4tesseract.pro)
+TARGET = qt4tesseract
+TEMPLATE = app
+QT += core gui
+
+CONFIG += release qt plugin static
+
+OBJECTS_DIR += temp
+MOC_DIR += temp
+UI_DIR += temp
+RCC_DIR += temp
+
+SOURCES += src/main.cpp \
+ src/mainwindow.cpp \
+ src/settingsdialog.cpp
+HEADERS += src/mainwindow.h \
+ src/settingsdialog.h
+
+FORMS += ui/mainwindow.ui \
+ ui/settings.ui
+
+TRANSLATIONS += resources/translations/qt4tesseract_en.ts \
+ resources/translations/qt4tesseract_et.ts \
+ resources/translations/qt4tesseract_sk.ts
+CODECFORTR = UTF-8
+
+RESOURCES = resources/qt4tesseract.qrc
+
+
+win32 {
+ Debug:CONFIG += console
+ RC_FILE = resources/qt4tesseract.rc
+ Release:DEFINES += NO_CONSOLE
+ updateqm.input = TRANSLATIONS
+ updateqm.output = resources/translations/${QMAKE_FILE_BASE}.qm
+ updateqm.commands = $$QMAKE_LRELEASE \
+ -silent \
+ ${QMAKE_FILE_IN} \
+ -qm \
+ resources/translations/${QMAKE_FILE_BASE}.qm
+ updateqm.CONFIG += no_link
+
+ localize.depends = resources/translations/*.qm
+ localize.path = resources/translations/
+ localize.files = resources/translations/*.qm
+ localize.commands = lrelease resources/translations/*ts
+}
+
+!contains(CONFIG, build_pass) system(lupdate qt4tesseract.pro)
+!contains(CONFIG, build_pass) system(lrelease qt4tesseract.pro)
Oops, something went wrong.

0 comments on commit c2289e7

Please sign in to comment.