Fixed MSVC build

This commit is contained in:
Uwe Kindler 2021-06-19 14:47:17 +02:00
parent 511132ee4f
commit 487e23e190

11
ads.pri
View File

@ -1,6 +1,5 @@
lessThan(QT_MAJOR_VERSION, 6) { CONFIG(debug, debug|release){
CONFIG(debug, debug|release){
win32 { win32 {
LIBS += -lqtadvanceddockingd LIBS += -lqtadvanceddockingd
} }
@ -10,14 +9,8 @@ lessThan(QT_MAJOR_VERSION, 6) {
else { else {
LIBS += -lqtadvanceddocking LIBS += -lqtadvanceddocking
} }
}
else{
LIBS += -lqtadvanceddocking
}
} }
else { else{
# qt$$qtLibraryTarget(qtadvanceddocking) does not produce an advanceddockingd.dll file on Windows
# for Qt6 - I don't know if this is a bug and I have to investigate
LIBS += -lqtadvanceddocking LIBS += -lqtadvanceddocking
} }