针对你遇到的“project error: unknown module(s) in qt: declarative”问题,以下是一些可能的解决步骤,按照你的提示进行组织: 确认Qt版本是否支持declarative模块: Qt Declarative模块在Qt 5中是一个核心模块,用于支持QML和Qt Quick。但在Qt 6中,QML和Qt Quick的支持被整合进了QtCore和其他相关模块,因此不再有...
Second thought on this, maybe make it part of qtbase setup hook, and then we only need to make sure qmllint and qmllsp understands the NIXPKGS_QT6_QML_IMPORT_PATH variable. diff --git a/pkgs/development/libraries/qt-6/hooks/qtbase-setup-hook.sh b/pkgs/development/libraries/qt-6/hooks...
qtdatavis3d @ e7d581a Update submodules on 'dev in qt/qt5' Dec 22, 2023 qtdeclarative @ dae1f74 Update submodules on 'dev in qt/qt5' Dec 22, 2023 qtdoc @ 98dffd8 Update submodules on 'dev in qt/qt5' Dec 22, 2023
Update submodules on 'dev in qt/qt5' Dec 22, 2023 qtdeclarative @ dae1f74 Update submodules on 'dev in qt/qt5' Dec 22, 2023 qtdoc @ 98dffd8 Update submodules on 'dev in qt/qt5' Dec 22, 2023 qtfeedback @ 9ac8d8c
qtdatavis3d @ 23a7c7e Update submodules on 'dev in qt/qt5' Mar 19, 2024 qtdeclarative @ 2bc1c82 Update submodules on 'dev in qt/qt5' Mar 19, 2024 qtdoc @ 82aa532 Update submodules on 'dev in qt/qt5' Mar 19, 2024