added version, checking for TARGET_PREFIX variable
This commit is contained in:
parent
d39fd6a598
commit
b3d76635b1
12
general.pri
12
general.pri
|
@ -12,7 +12,17 @@ unix {
|
||||||
QMAKE_LFLAGS += "-Wl,--rpath=./"
|
QMAKE_LFLAGS += "-Wl,--rpath=./"
|
||||||
}
|
}
|
||||||
# prefix
|
# prefix
|
||||||
targetprefix = .
|
targetprefix = $$(TARGET_PREFIX)
|
||||||
|
equals(targetprefix, "") {
|
||||||
|
win32 {
|
||||||
|
targetprefix = ../../..
|
||||||
|
} else {
|
||||||
|
targetprefix = ../..
|
||||||
|
}
|
||||||
|
}
|
||||||
|
message("Using target prefix \"$${targetprefix}\".")
|
||||||
|
# print install root
|
||||||
|
message("Using install root \"$$(INSTALL_ROOT)\".")
|
||||||
# target
|
# target
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
TARGET = $$targetprefix/$${projectname}d
|
TARGET = $$targetprefix/$${projectname}d
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
projectname = passwordfile
|
projectname = passwordfile
|
||||||
|
VERSION = 2.0.5
|
||||||
|
|
||||||
# include ../../common.pri when building as part of a subdirs project; otherwise include general.pri
|
# include ../../common.pri when building as part of a subdirs project; otherwise include general.pri
|
||||||
!include(../../common.pri) {
|
!include(../../common.pri) {
|
||||||
|
|
Loading…
Reference in New Issue