Disable python plugins for Qt 6

master
Simon Stürz 2025-08-11 16:10:03 +02:00
parent e5b241e4fa
commit 8107bd9e9a
1 changed files with 12 additions and 7 deletions

View File

@ -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;