Skip to content

Commit 1463b62

Browse files
committed
Remove useless lines in .pro file
1 parent 2b0ea3e commit 1463b62

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/subtivals.pro

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SOURCES += main.cpp\
3333
wizard.cpp \
3434
weblive.cpp
3535

36-
HEADERS += mainwindow.h \
36+
HEADERS += mainwindow.h \
3737
script.h \
3838
subtitlestyle.h \
3939
subtitle.h \
@@ -54,7 +54,7 @@ macx {
5454
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15
5555
}
5656

57-
FORMS += mainwindow.ui \
57+
FORMS += mainwindow.ui \
5858
subtitlesform.ui \
5959
styleeditor.ui \
6060
configeditor.ui \
@@ -85,7 +85,7 @@ TRANSLATIONS_PATH = $$PWD/../locale
8585
# Platform-specific install paths
8686
unix:!macx {
8787
isEmpty(PREFIX) {
88-
PREFIX = /usr
88+
PREFIX = ./usr
8989
}
9090

9191
BINDIR = $$PREFIX/bin
@@ -138,10 +138,6 @@ QMAKE_POST_LINK += $$QMAKE_LRELEASE $$_PRO_FILE_
138138
unix {
139139
QMAKE_POST_LINK += && $$quote(mkdir -p $$TRANSLATIONS_PATH && cp ../locale/*.qm $$TRANSLATIONS_PATH)
140140
}
141-
#win32 {
142-
# QMAKE_POST_LINK += && $$quote(if not exist $$TRANSLATIONS_PATH mkdir $$TRANSLATIONS_PATH)
143-
# QMAKE_POST_LINK += && $$quote(copy /Y ..\\locale\\*.qm $$TRANSLATIONS_PATH)
144-
#}
145141

146142
# Embed the translation path as a preprocessor define
147143
TRANSLATIONS_PATH_STR = '\"$$TRANSLATIONS_PATH\"'
@@ -150,7 +146,4 @@ DEFINES += TRANSLATIONS_PATH=\\\"$$TRANSLATIONS_PATH_STR\\\"
150146
OTHER_FILES += \
151147
../debian/control \
152148
../debian/rules \
153-
../debian/changelog \
154-
../win-installer/installer.nsi \
155-
../win-installer/files.nsi \
156-
../win-installer/unfiles.nsi
149+
../debian/changelog

0 commit comments

Comments
 (0)