Disable python plugins for Qt 6
This commit is contained in:
parent
e5b241e4fa
commit
8107bd9e9a
@ -84,16 +84,21 @@ PLUGIN_DIRS = \
|
|||||||
ws2812fx \
|
ws2812fx \
|
||||||
|
|
||||||
|
|
||||||
# bimmerconnected \
|
|
||||||
# dht \
|
|
||||||
# fastcom \
|
|
||||||
# mcp3008 \
|
|
||||||
# neatobotvac \
|
|
||||||
# sunposition \
|
|
||||||
|
|
||||||
message(============================================)
|
message(============================================)
|
||||||
message("Qt version:" $$[QT_VERSION])
|
message("Qt version:" $$[QT_VERSION])
|
||||||
|
|
||||||
|
!greaterThan(QT_MAJOR_VERSION, 5) {
|
||||||
|
PLUGIN_DIRS += \
|
||||||
|
bimmerconnected \
|
||||||
|
dht \
|
||||||
|
fastcom \
|
||||||
|
mcp3008 \
|
||||||
|
neatobotvac \
|
||||||
|
sunposition \
|
||||||
|
} else {
|
||||||
|
message("Python plugin disabled for Qt 6")
|
||||||
|
}
|
||||||
|
|
||||||
plugininfo.depends = FORCE
|
plugininfo.depends = FORCE
|
||||||
for (entry, PLUGIN_DIRS):plugininfo.commands += test -d $${entry} || mkdir -p $${entry}; cd $${entry} && qmake -o Makefile $$PWD/$${entry}/$${entry}.pro && cd ..;
|
for (entry, PLUGIN_DIRS):plugininfo.commands += test -d $${entry} || mkdir -p $${entry}; cd $${entry} && qmake -o Makefile $$PWD/$${entry}/$${entry}.pro && cd ..;
|
||||||
for (entry, PLUGIN_DIRS):plugininfo.commands += make -C $${entry} plugininfo.h;
|
for (entry, PLUGIN_DIRS):plugininfo.commands += make -C $${entry} plugininfo.h;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user