added version, minor improvements
This commit is contained in:
parent
49fe16e29d
commit
49aa71b8f9
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 = qtutilities
|
projectname = qtutilities
|
||||||
|
VERSION = 1.0.6
|
||||||
|
|
||||||
# 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