X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fsrc.pro;h=46d77b37c383f6215f91435d86a8082e79f8e4d7;hb=f3519fa997baf062a948ec64b57ebe3f56858507;hp=7acf4c0518f273eb098e7a4e66759a4f3cf19f02;hpb=fe7ffe8f4551d7d4b6cbf16c429117ff3665e0cb;p=qcpufreq diff --git a/src/src.pro b/src/src.pro old mode 100755 new mode 100644 index 7acf4c0..46d77b3 --- a/src/src.pro +++ b/src/src.pro @@ -4,18 +4,26 @@ # #------------------------------------------------- -QT += core gui +QT += core gui maemo5 TARGET = QCPUFreq TEMPLATE = app SOURCES += main.cpp\ - mainwindow.cpp + mainwindow.cpp \ + helpwindow.cpp \ + settings.cpp -HEADERS += mainwindow.h +HEADERS += mainwindow.h \ + helpwindow.h \ + settings.h -FORMS += mainwindow.ui +FORMS += mainwindow.ui \ + helpwindow.ui \ + settings.ui + +TRANSLATIONS = de.ts zh.ts CONFIG += mobility MOBILITY = @@ -39,7 +47,7 @@ unix { #MAKE INSTALL - INSTALLS += target helper sudoers desktop icon48 icon64 + INSTALLS += target helper sudoers desktop icon48 icon64 locale_de locale_zh target.path =$$BINDIR desktop.path = /usr/share/applications/hildon @@ -52,9 +60,19 @@ unix { icon64.files += data/48x48/qcpufreq.png helper.path = $$BINDIR/ - helper.files += data/scripts/set_scalingmaxfreq + helper.files += data/scripts/QCPUFreq.helper helper.permissions = 755 sudoers.path = /etc/sudoers.d/ sudoers.files += data/sudoers/qcpufreq.sudoers + + locale_de.path = /opt/usr/share/qcpufreq + locale_de.files += de.qm + + locale_zh.path = /opt/usr/share/qcpufreq + locale_zh.files += zh.qm + } + +RESOURCES += \ + resources.qrc