Disable python plugins for Qt 6
parent
e5b241e4fa
commit
8107bd9e9a
|
|
@ -84,16 +84,21 @@ PLUGIN_DIRS = \
|
|||
ws2812fx \
|
||||
|
||||
|
||||
# bimmerconnected \
|
||||
# dht \
|
||||
# fastcom \
|
||||
# mcp3008 \
|
||||
# neatobotvac \
|
||||
# sunposition \
|
||||
|
||||
message(============================================)
|
||||
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
|
||||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue