diff --git a/general.pri b/general.pri index 9156999..9f790b4 100644 --- a/general.pri +++ b/general.pri @@ -12,7 +12,17 @@ unix { QMAKE_LFLAGS += "-Wl,--rpath=./" } # 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 CONFIG(debug, debug|release) { TARGET = $$targetprefix/$${projectname}d diff --git a/passwordfile.pro b/passwordfile.pro index 418be3f..637459e 100644 --- a/passwordfile.pro +++ b/passwordfile.pro @@ -1,4 +1,5 @@ projectname = passwordfile +VERSION = 2.0.5 # include ../../common.pri when building as part of a subdirs project; otherwise include general.pri !include(../../common.pri) {