Mercurial > hg > forks > UniversalIndentGUI
annotate UniversalIndentGUI.pro @ 754:4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1031 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Tue, 21 Dec 2010 23:07:50 +0000 |
parents | f2da6de11815 |
children | c6d54610983b |
rev | line source |
---|---|
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
1 TEMPLATE = app |
202
2f6b2c95dd8e
Added preparations for online check for a new version. The xml pad file is already retrieved if the update check is enabled in the settings.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
173
diff
changeset
|
2 QT += network |
735
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
3 QT += script |
385
743af33d0807
Did some more adaptions to make the build script platform independent.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
380
diff
changeset
|
4 |
365
836e08b6e310
On Unix systems use the lowercase names for the applications binary and paths.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
359
diff
changeset
|
5 unix:TARGET = universalindentgui |
385
743af33d0807
Did some more adaptions to make the build script platform independent.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
380
diff
changeset
|
6 win32:TARGET = UniversalIndentGUI |
743af33d0807
Did some more adaptions to make the build script platform independent.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
380
diff
changeset
|
7 macx:TARGET = UniversalIndentGUI |
743af33d0807
Did some more adaptions to make the build script platform independent.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
380
diff
changeset
|
8 |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
9 DEPENDPATH += resources \ |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
10 src \ |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
11 debug \ |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
12 release |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
13 |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
14 INCLUDEPATH += src |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
15 |
682
cf73befdd72b
Changed the Qt project file to ensure that the resulting make file has release AND debug build targets.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
658
diff
changeset
|
16 CONFIG += debug_and_release |
cf73befdd72b
Changed the Qt project file to ensure that the resulting make file has release AND debug build targets.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
658
diff
changeset
|
17 |
333
7006032d12e3
Added some definitions for MaxOSX as mentioned on http://www.lmprojects.de/qt/qt_mac.html
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
298
diff
changeset
|
18 macx { |
735
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
19 CONFIG += x86 x86_64 sdk |
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
20 # qscintilla needs to be build with: |
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
21 # qmake -spec macx-g++ CONFIG+=sdk CONFIG+=x86_64 CONFIG+=x86 CONFIG+=lib_bundle qscintilla.pro && make && sudo make install |
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
22 LIBS += -framework qscintilla2 |
708
80144dc972a1
Added an application icon for Mac OS X.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
701
diff
changeset
|
23 ICON = resources/UniversalIndentGUI.icns |
333
7006032d12e3
Added some definitions for MaxOSX as mentioned on http://www.lmprojects.de/qt/qt_mac.html
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
298
diff
changeset
|
24 } |
735
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
25 else { |
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
26 LIBS += -lqscintilla2 |
f2da6de11815
Changed the qmake project file to include QScintilla as framework to the mac version.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
708
diff
changeset
|
27 } |
333
7006032d12e3
Added some definitions for MaxOSX as mentioned on http://www.lmprojects.de/qt/qt_mac.html
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
298
diff
changeset
|
28 |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
29 CONFIG(release, debug|release) { |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
30 |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
31 win32:pipe2nul = ">NUL" |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
32 unix:pipe2nul = "&> /dev/null" |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
33 macx:pipe2nul = "&> /dev/null" |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
34 message(Updating language files) |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
35 |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
36 lupdate = lupdate |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
37 unix:lupdate = lupdate-qt4 |
417
e34812990435
Commented the preparations for the animated about dialog out.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
413
diff
changeset
|
38 macx:lupdate = lupdate |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
39 lrelease = lrelease |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
40 unix:lrelease = lrelease-qt4 |
417
e34812990435
Commented the preparations for the animated about dialog out.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
413
diff
changeset
|
41 macx:lrelease = lrelease |
410
1a70e855d535
Updated the translation files for the current source code. The qmake project file now ensures that the translation files are being updated and created as binaries.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
408
diff
changeset
|
42 # Update translation files |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
43 message ( Updating universalindent.ts ) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
44 system($${lupdate} src -ts ./translations/universalindent.ts -silent) |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
45 message ( Updating universalindent_de.ts ) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
46 system($${lupdate} src -ts ./translations/universalindent_de.ts -silent) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
47 message ( Updating universalindent_fr.ts ) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
48 system($${lupdate} src -ts ./translations/universalindent_fr.ts -silent) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
49 message ( Updating universalindent_ja_jp.ts ) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
50 system($${lupdate} src -ts ./translations/universalindent_ja_jp.ts -silent) |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
51 message ( Updating universalindent_ru.ts ) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
52 system($${lupdate} src -ts ./translations/universalindent_ru.ts -silent) |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
53 message ( Updating universalindent_uk.ts ) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
54 system($${lupdate} src -ts ./translations/universalindent_uk.ts -silent) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
55 message ( Updating universalindent_zh_TW.ts ) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
56 system($${lupdate} src -ts ./translations/universalindent_zh_TW.ts -silent) |
410
1a70e855d535
Updated the translation files for the current source code. The qmake project file now ensures that the translation files are being updated and created as binaries.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
408
diff
changeset
|
57 |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
58 |
410
1a70e855d535
Updated the translation files for the current source code. The qmake project file now ensures that the translation files are being updated and created as binaries.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
408
diff
changeset
|
59 # Create translation binaries |
529
43d171d0a92b
Improved the qmake project file to correctly set the moc, uic and qrc paths and only update the language files once for release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
528
diff
changeset
|
60 message ( Creating translation binaries ) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
61 system($${lrelease} ./translations/universalindent_de.ts -qm ./translations/universalindent_de.qm -silent) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
62 system($${lrelease} ./translations/universalindent_fr.ts -qm ./translations/universalindent_fr.qm -silent) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
63 system($${lrelease} ./translations/universalindent_ja_jp.ts -qm ./translations/universalindent_ja_jp.qm -silent) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
64 system($${lrelease} ./translations/universalindent_ru.ts -qm ./translations/universalindent_ru.qm -silent) |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
65 system($${lrelease} ./translations/universalindent_uk.ts -qm ./translations/universalindent_uk.qm -silent) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
66 system($${lrelease} ./translations/universalindent_zh_TW.ts -qm ./translations/universalindent_zh_TW.qm -silent) |
410
1a70e855d535
Updated the translation files for the current source code. The qmake project file now ensures that the translation files are being updated and created as binaries.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
408
diff
changeset
|
67 |
393
75512575391c
Mad the build script even more platform independend.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
388
diff
changeset
|
68 # Copy Qts own translation files to the local translation directory |
534
74f7df15f00b
Small optimization to the qmake project file for a copy call.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
529
diff
changeset
|
69 message ( Copy Qts own translation files to the local translation directory ) |
394
74c9e228a01f
Copying the translation files from the Qt dir caused some trouble on windows.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
393
diff
changeset
|
70 qtTranslationInstallDir = $$[QT_INSTALL_TRANSLATIONS] |
74c9e228a01f
Copying the translation files from the Qt dir caused some trouble on windows.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
393
diff
changeset
|
71 win32:qtTranslationInstallDir = $$replace(qtTranslationInstallDir, /, \) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
72 unix:system(cp $${qtTranslationInstallDir}/qt_de.qm ./translations/ $$pipe2nul) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
73 unix:system(cp $${qtTranslationInstallDir}/qt_fr.qm ./translations/ $$pipe2nul) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
74 unix:system(cp $${qtTranslationInstallDir}/qt_ja_jp.qm ./translations/ $$pipe2nul) |
413
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
75 unix:system(cp $${qtTranslationInstallDir}/qt_ru.qm ./translations/ $$pipe2nul) |
a063cae5b2b6
Improved the qmake project file a bit, to work on more platforms.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
410
diff
changeset
|
76 unix:system(cp $${qtTranslationInstallDir}/qt_uk.qm ./translations/ $$pipe2nul) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
77 unix:system(cp $${qtTranslationInstallDir}/qt_zh_TW.qm ./translations/ $$pipe2nul) |
534
74f7df15f00b
Small optimization to the qmake project file for a copy call.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
529
diff
changeset
|
78 win32:system(copy $${qtTranslationInstallDir}\qt_de.qm .\translations\ /Y $$pipe2nul) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
79 win32:system(copy $${qtTranslationInstallDir}\qt_fr.qm .\translations\ /Y $$pipe2nul) |
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
80 win32:system(copy $${qtTranslationInstallDir}\qt_ja_jp.qm .\translations\ /Y $$pipe2nul) |
534
74f7df15f00b
Small optimization to the qmake project file for a copy call.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
529
diff
changeset
|
81 win32:system(copy $${qtTranslationInstallDir}\qt_ru.qm .\translations\ /Y $$pipe2nul) |
74f7df15f00b
Small optimization to the qmake project file for a copy call.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
529
diff
changeset
|
82 win32:system(copy $${qtTranslationInstallDir}\qt_uk.qm .\translations\ /Y $$pipe2nul) |
577
4aed81d111df
Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
560
diff
changeset
|
83 win32:system(copy $${qtTranslationInstallDir}\qt_zh_TW.qm .\translations\ /Y $$pipe2nul) |
393
75512575391c
Mad the build script even more platform independend.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
388
diff
changeset
|
84 |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
85 # Defining files that shall be installed |
355
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
86 ######################################## |
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
87 # Create and install man page |
404
315f520dbd7b
[fix] Bug ID 1910773 : Adapted the qmake project file to avoid the above mentioned "cannot remove" etc warnings. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
403
diff
changeset
|
88 exists( ./doc/universalindentgui.1* ) { |
315f520dbd7b
[fix] Bug ID 1910773 : Adapted the qmake project file to avoid the above mentioned "cannot remove" etc warnings. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
403
diff
changeset
|
89 unix:system(rm ./doc/universalindentgui.1*) |
315f520dbd7b
[fix] Bug ID 1910773 : Adapted the qmake project file to avoid the above mentioned "cannot remove" etc warnings. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
403
diff
changeset
|
90 } |
315f520dbd7b
[fix] Bug ID 1910773 : Adapted the qmake project file to avoid the above mentioned "cannot remove" etc warnings. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
403
diff
changeset
|
91 unix:system(cp ./doc/universalindentgui.man ./doc/universalindentgui.1) |
425
d88e5695f45e
Updated the build scripts to correctly copy and create the man page.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
417
diff
changeset
|
92 unix:system(gzip -9 ./doc/universalindentgui.1) |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
93 unix:documentation.path = /usr/share/man/man1 |
365
836e08b6e310
On Unix systems use the lowercase names for the applications binary and paths.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
359
diff
changeset
|
94 unix:documentation.files = doc/universalindentgui.1.gz |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
95 |
388
729790ccf8c6
Added perltidy to the repository again, since it contains custom changes for me. But changed the project file to not install perltidy.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
385
diff
changeset
|
96 # Install indenter ini files, examples and some indenters |
403
d6b52a761266
[fix] Bug ID 1910773 : On Unix systems the globally available files, like indenters, translations etc are not longer installed to /etc/universalindentgui but to /usr/share/universalindentgui. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
402
diff
changeset
|
97 unix:indenters.path = /usr/share/universalindentgui/indenters |
388
729790ccf8c6
Added perltidy to the repository again, since it contains custom changes for me. But changed the project file to not install perltidy.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
385
diff
changeset
|
98 unix:indenters.files = indenters/uigui_*.ini |
407
9a9ceceaa548
The example files were not included in the make install command, because of a little misspelling.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
404
diff
changeset
|
99 unix:indenters.files += indenters/example.* |
388
729790ccf8c6
Added perltidy to the repository again, since it contains custom changes for me. But changed the project file to not install perltidy.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
385
diff
changeset
|
100 unix:indenters.files += indenters/JsDecoder.js |
650
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
101 unix:indenters.files += indenters/phpStylist.php |
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
102 unix:indenters.files += indenters/phpStylist.txt |
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
103 unix:indenters.files += indenters/pindent.py |
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
104 unix:indenters.files += indenters/pindent.txt |
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
105 unix:indenters.files += indenters/rbeautify.rb |
9d16fd3971b1
Prepared for version 1.0.2 release.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
644
diff
changeset
|
106 unix:indenters.files += indenters/ruby_formatter.rb |
388
729790ccf8c6
Added perltidy to the repository again, since it contains custom changes for me. But changed the project file to not install perltidy.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
385
diff
changeset
|
107 unix:indenters.files += indenters/shellindent.awk |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
108 |
359
90430239f1f5
Changed the project file to translate and install the translation files.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
356
diff
changeset
|
109 # Install translation files |
403
d6b52a761266
[fix] Bug ID 1910773 : On Unix systems the globally available files, like indenters, translations etc are not longer installed to /etc/universalindentgui but to /usr/share/universalindentgui. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
402
diff
changeset
|
110 unix:translation.path = /usr/share/universalindentgui/translations |
393
75512575391c
Mad the build script even more platform independend.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
388
diff
changeset
|
111 unix:translation.files = translations/*.qm |
359
90430239f1f5
Changed the project file to translate and install the translation files.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
356
diff
changeset
|
112 |
355
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
113 # Install highlighter default config |
403
d6b52a761266
[fix] Bug ID 1910773 : On Unix systems the globally available files, like indenters, translations etc are not longer installed to /etc/universalindentgui but to /usr/share/universalindentgui. http://universalindent.sf.net/issue/1910773
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
402
diff
changeset
|
114 unix:highlighterconfig.path = /usr/share/universalindentgui/config |
355
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
115 unix:highlighterconfig.files = config/UiGuiSyntaxHighlightConfig.ini |
349
f37e2242f9bd
Added a section for installing from sources via "make install" for Unix based systems (added target path).
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
348
diff
changeset
|
116 |
355
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
117 # Install binary |
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
118 unix:target.path = /usr/bin |
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
119 |
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
120 # Set everything that shall be installed |
349
f37e2242f9bd
Added a section for installing from sources via "make install" for Unix based systems (added target path).
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
348
diff
changeset
|
121 unix:INSTALLS += target \ |
355
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
122 highlighterconfig \ |
fbcfa91e004f
Made the "make install" command install the binary, man pages, default highlighter ini and uigui ini files correctly.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
349
diff
changeset
|
123 indenters \ |
359
90430239f1f5
Changed the project file to translate and install the translation files.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
356
diff
changeset
|
124 translation \ |
521
e732730c71bc
In the qmake project file set the language update only be executed for release and AboutDialogGraphicsView be used always since Qt 4.4.1 is always used.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
520
diff
changeset
|
125 documentation |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
126 |
521
e732730c71bc
In the qmake project file set the language update only be executed for release and AboutDialogGraphicsView be used always since Qt 4.4.1 is always used.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
520
diff
changeset
|
127 } |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
128 |
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
129 ####################### |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
130 # remove linker flag "-mthreads" so the mingwm10.dll is no longer needed |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
131 ####################### |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
132 win32 { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
133 message ( remove linker flag "-mthreads" so the mingwm10.dll is no longer needed ) |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
134 #message(old flags:$${QMAKE_LFLAGS}) |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
135 parameters = $${QMAKE_LFLAGS} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
136 newFlags = |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
137 for(parameter, parameters) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
138 !contains(parameter, -mthreads) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
139 newFlags += $${parameter} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
140 } |
380
6c1cdb57b1b9
Corrected the project file to generate proper makefiles on win32 systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
377
diff
changeset
|
141 } |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
142 QMAKE_LFLAGS = $${newFlags} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
143 #message(new flags:$${QMAKE_LFLAGS}) |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
144 |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
145 parameters = $${QMAKE_LFLAGS_EXCEPTIONS_ON} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
146 newFlags = |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
147 for(parameter, parameters) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
148 !contains(parameter, -mthreads) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
149 newFlags += $${parameter} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
150 } |
380
6c1cdb57b1b9
Corrected the project file to generate proper makefiles on win32 systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
377
diff
changeset
|
151 } |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
152 QMAKE_LFLAGS_EXCEPTIONS_ON = $${newFlags} |
173
f5b097dafb40
Since Qt 4.3.0 the linker flag -mthreads is no longer set in the parameter QMAKE_LFLAGS but seems to be set in QMAKE_LFLAGS_EXCEPTIONS_ON and QMAKE_CXXFLAGS_EXCEPTIONS_ON. This caused the release version to depend on mingwm10.dll. Should be fixed now.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
159
diff
changeset
|
153 |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
154 parameters = $${QMAKE_CXXFLAGS_EXCEPTIONS_ON} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
155 newFlags = |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
156 for(parameter, parameters) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
157 !contains(parameter, -mthreads) { |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
158 newFlags += $${parameter} |
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
159 } |
380
6c1cdb57b1b9
Corrected the project file to generate proper makefiles on win32 systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
377
diff
changeset
|
160 } |
644
d88a2df5a630
Simplified the mthreads parameter removal in the qmake project file a bit.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
638
diff
changeset
|
161 QMAKE_CXXFLAGS_EXCEPTIONS_ON = $${newFlags} |
173
f5b097dafb40
Since Qt 4.3.0 the linker flag -mthreads is no longer set in the parameter QMAKE_LFLAGS but seems to be set in QMAKE_LFLAGS_EXCEPTIONS_ON and QMAKE_CXXFLAGS_EXCEPTIONS_ON. This caused the release version to depend on mingwm10.dll. Should be fixed now.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
159
diff
changeset
|
162 } |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
163 ####################### |
173
f5b097dafb40
Since Qt 4.3.0 the linker flag -mthreads is no longer set in the parameter QMAKE_LFLAGS but seems to be set in QMAKE_LFLAGS_EXCEPTIONS_ON and QMAKE_CXXFLAGS_EXCEPTIONS_ON. This caused the release version to depend on mingwm10.dll. Should be fixed now.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
159
diff
changeset
|
164 |
f5b097dafb40
Since Qt 4.3.0 the linker flag -mthreads is no longer set in the parameter QMAKE_LFLAGS but seems to be set in QMAKE_LFLAGS_EXCEPTIONS_ON and QMAKE_CXXFLAGS_EXCEPTIONS_ON. This caused the release version to depend on mingwm10.dll. Should be fixed now.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
159
diff
changeset
|
165 |
f5b097dafb40
Since Qt 4.3.0 the linker flag -mthreads is no longer set in the parameter QMAKE_LFLAGS but seems to be set in QMAKE_LFLAGS_EXCEPTIONS_ON and QMAKE_CXXFLAGS_EXCEPTIONS_ON. This caused the release version to depend on mingwm10.dll. Should be fixed now.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
159
diff
changeset
|
166 |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
167 CONFIG(debug, debug|release) { |
57
6ea2eeb5ab5d
Differenciating between unix/linux and win32 Q project file should no longer be needed. Qt corrected problems with that.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
21
diff
changeset
|
168 DESTDIR = ./debug |
701
4f83900d6d12
Added debug defines to the qmake file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
692
diff
changeset
|
169 DEFINES += _DEBUG DEBUG |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
170 } else { |
57
6ea2eeb5ab5d
Differenciating between unix/linux and win32 Q project file should no longer be needed. Qt corrected problems with that.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
21
diff
changeset
|
171 DESTDIR = ./release |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
172 } |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
173 |
348
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
174 MOC_DIR = $${DESTDIR}/moc |
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
175 UI_DIR = $${DESTDIR}/uic |
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
176 OBJECTS_DIR = $${DESTDIR}/obj |
286b82dfad80
Added a section for installing from sources via "make install" for Unix based systems.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
344
diff
changeset
|
177 RCC_DIR = $${DESTDIR}/qrc |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
178 |
110
75c94e3f28b1
Adapted to use new UiGuiSettings class and files and the renamed class Highlighter, formerly cpphighlighter.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
94
diff
changeset
|
179 #message ( destdir is $${DESTDIR}. uic is $${UI_DIR}. moc is $${MOC_DIR}) |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
180 |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
181 # Input |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
182 HEADERS += src/AboutDialog.h \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
183 src/AboutDialogGraphicsView.h \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
184 src/IndentHandler.h \ |
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
185 src/MainWindow.h \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
186 src/SettingsPaths.h \ |
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
187 src/TemplateBatchScript.h \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
188 src/UiGuiErrorMessage.h \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
189 src/UiGuiHighlighter.h \ |
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
190 src/UiGuiIndentServer.h \ |
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
191 src/UiGuiIniFileParser.h \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
192 src/UiGuiSettings.h \ |
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
193 src/UiGuiSettingsDialog.h \ |
692
e3ff3c85d271
Added a class for retrieving info about the operating system and use this for logging info.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
687
diff
changeset
|
194 src/UiGuiSystemInfo.h \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
195 src/UiGuiVersion.h \ |
754
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
196 src/UpdateCheckDialog.h \ |
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
197 src/debugging/TSLogger.h |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
198 |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
199 |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
200 FORMS += src/MainWindow.ui \ |
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
201 src/ToolBarWidget.ui \ |
110
75c94e3f28b1
Adapted to use new UiGuiSettings class and files and the renamed class Highlighter, formerly cpphighlighter.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
94
diff
changeset
|
202 src/UiGuiSettingsDialog.ui \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
203 src/AboutDialog.ui \ |
754
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
204 src/UpdateCheckDialog.ui \ |
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
205 src/debugging/TSLoggerDialog.ui |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
206 |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
207 SOURCES += src/AboutDialog.cpp \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
208 src/AboutDialogGraphicsView.cpp \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
209 src/IndentHandler.cpp \ |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
210 src/main.cpp \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
211 src/MainWindow.cpp \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
212 src/SettingsPaths.cpp \ |
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
213 src/TemplateBatchScript.cpp \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
214 src/UiGuiErrorMessage.cpp \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
215 src/UiGuiHighlighter.cpp \ |
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
216 src/UiGuiIndentServer.cpp \ |
638
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
217 src/UiGuiIniFileParser.cpp \ |
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
218 src/UiGuiSettings.cpp \ |
94734b9eb54f
Renamed the source files and some classes to have consistent names. What a nice kind of work.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
587
diff
changeset
|
219 src/UiGuiSettingsDialog.cpp \ |
692
e3ff3c85d271
Added a class for retrieving info about the operating system and use this for logging info.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
687
diff
changeset
|
220 src/UiGuiSystemInfo.cpp \ |
658
6da4f30f2b96
Adapted the qmake project file to work with the new UiGuiVersion functions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
650
diff
changeset
|
221 src/UiGuiVersion.cpp \ |
754
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
222 src/UpdateCheckDialog.cpp \ |
4ec2ac09969d
Renamed the logger class and put it into a namespace for later universal tool reuse.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
735
diff
changeset
|
223 src/debugging/TSLogger.cpp |
1
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
224 |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
225 RESOURCES += resources/Icons.qrc |
e6a2f4c49682
Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
226 RC_FILE = resources/programicon.rc |