set meta data (win32)
This commit is contained in:
parent
ba77d0315b
commit
3aa0c393fc
12
general.pri
12
general.pri
|
@ -1,5 +1,3 @@
|
||||||
# template
|
|
||||||
TEMPLATE = lib
|
|
||||||
#dirs
|
#dirs
|
||||||
UI_DIR = ./gui
|
UI_DIR = ./gui
|
||||||
MOC_DIR = ./moc
|
MOC_DIR = ./moc
|
||||||
|
@ -75,7 +73,11 @@ guiqtwidgets {
|
||||||
DEFINES += GUI_QTWIDGETS
|
DEFINES += GUI_QTWIDGETS
|
||||||
DEFINES += MODEL_UNDO_SUPPORT
|
DEFINES += MODEL_UNDO_SUPPORT
|
||||||
}
|
}
|
||||||
# configuration for cross compliation with mingw-w64
|
# Windows stuff: configuration for cross compliation with mingw-w64
|
||||||
|
win32 {
|
||||||
|
QMAKE_TARGET_PRODUCT = "$${appname}"
|
||||||
|
QMAKE_TARGET_COPYRIGHT = "by $${appauthor}"
|
||||||
|
}
|
||||||
mingw-w64-manualstrip-dll {
|
mingw-w64-manualstrip-dll {
|
||||||
QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET); \
|
QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET); \
|
||||||
$${CROSS_COMPILE}strip --strip-unneeded ./release/lib$(TARGET).a
|
$${CROSS_COMPILE}strip --strip-unneeded ./release/lib$(TARGET).a
|
||||||
|
@ -84,5 +86,7 @@ mingw-w64-manualstrip-exe {
|
||||||
QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET)
|
QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET)
|
||||||
}
|
}
|
||||||
mingw-w64-noversion {
|
mingw-w64-noversion {
|
||||||
VERSION = ""
|
TARGET_EXT = ".dll"
|
||||||
|
TARGET_VERSION_EXT = ""
|
||||||
|
CONFIG += skip_target_version_ext
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
projectname = qtutilities
|
projectname = qtutilities
|
||||||
VERSION = 2.0.0
|
appname = "Qt Utilities"
|
||||||
|
appauthor = Martchus
|
||||||
|
QMAKE_TARGET_DESCRIPTION = "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models."
|
||||||
|
VERSION = 2.0.1
|
||||||
|
|
||||||
# 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) {
|
||||||
|
@ -8,7 +11,9 @@ VERSION = 2.0.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEMPLATE = lib
|
||||||
QT += core gui
|
QT += core gui
|
||||||
|
CONFIG += shared
|
||||||
|
|
||||||
CONFIG(noplatformspecificcapslockdetection, noplatformspecificcapslockdetection|platformspecificcapslockdetection) {
|
CONFIG(noplatformspecificcapslockdetection, noplatformspecificcapslockdetection|platformspecificcapslockdetection) {
|
||||||
DEFINES -= PLATFORM_SPECIFIC_CAPSLOCK_DETECTION
|
DEFINES -= PLATFORM_SPECIFIC_CAPSLOCK_DETECTION
|
||||||
|
@ -16,8 +21,6 @@ CONFIG(noplatformspecificcapslockdetection, noplatformspecificcapslockdetection|
|
||||||
DEFINES += PLATFORM_SPECIFIC_CAPSLOCK_DETECTION
|
DEFINES += PLATFORM_SPECIFIC_CAPSLOCK_DETECTION
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG += shared
|
|
||||||
|
|
||||||
SOURCES += resources/resources.cpp \
|
SOURCES += resources/resources.cpp \
|
||||||
models/checklistmodel.cpp \
|
models/checklistmodel.cpp \
|
||||||
resources/qtconfigarguments.cpp \
|
resources/qtconfigarguments.cpp \
|
||||||
|
|
Loading…
Reference in New Issue