Project ERROR: Unknown module(s) in QT: serialport
stappersg opened this issue · 3 comments
stappersg commented
Hi, here the reporter of #150
Trying to do a Linux standalone build.
Installed are some QT6 development libraries and libusb-dev
.
But I get: Project ERROR: Unknown module(s) in QT: serialport
, in context:
stappers@messer:/usr/src/github/flipperdevices/qFlipper/build
$ make qmake_all
cd 3rdparty/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/3rdparty/3rdparty.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
cd 3rdparty/ && make -f Makefile qmake_all
make[1]: Entering directory '/usr/src/github/flipperdevices/qFlipper/build/3rdparty'
make[1]: Nothing to be done for 'qmake_all'.
make[1]: Leaving directory '/usr/src/github/flipperdevices/qFlipper/build/3rdparty'
cd dfu/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/dfu/dfu.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
cd dfu/ && make -f Makefile qmake_all
make[1]: Entering directory '/usr/src/github/flipperdevices/qFlipper/build/dfu'
make[1]: Nothing to be done for 'qmake_all'.
make[1]: Leaving directory '/usr/src/github/flipperdevices/qFlipper/build/dfu'
cd plugins/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/plugins/plugins.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
cd plugins/ && make -f Makefile qmake_all
make[1]: Entering directory '/usr/src/github/flipperdevices/qFlipper/build/plugins'
cd flipperproto0/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/plugins/flipperproto0/flipperproto0.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
cd flipperproto0/ && make -f Makefile qmake_all
make[2]: Entering directory '/usr/src/github/flipperdevices/qFlipper/build/plugins/flipperproto0'
make[2]: Nothing to be done for 'qmake_all'.
make[2]: Leaving directory '/usr/src/github/flipperdevices/qFlipper/build/plugins/flipperproto0'
cd protobufinterface/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/plugins/protobufinterface/protobufinterface.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
cd protobufinterface/ && make -f Makefile qmake_all
make[2]: Entering directory '/usr/src/github/flipperdevices/qFlipper/build/plugins/protobufinterface'
Some of the required modules (false) are not available.
Skipped.
make[2]: Leaving directory '/usr/src/github/flipperdevices/qFlipper/build/plugins/protobufinterface'
make[1]: Leaving directory '/usr/src/github/flipperdevices/qFlipper/build/plugins'
cd backend/ && /usr/bin/qmake6 -o Makefile /usr/src/github/flipperdevices/qFlipper/backend/backend.pro PREFIX=/usr/local/bin -spec linux-g++ CONFIG+=qtquickcompiler
Project ERROR: Unknown module(s) in QT: serialport
make: *** [Makefile:95: sub-backend-qmake_all] Error 3
stappers@messer:/usr/src/github/flipperdevices/qFlipper/build
$
Which development library is missing?
stappersg commented
Short:
sudo apt install qt6-serialport-dev
Long:
In file ../docker/Dockerfile
is a list of debian packages to be installed. Seeing a serialport
package inspired me to do apt search serialport | grep qt
for finding an eqivalent.
stappersg commented
Issue left open by me because I deem that - Qt5 >= 5.15.0 or Qt6 >= 6.3.0
is way too terse.