-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building fails. "Could not find a package configuration file provided by "Qt5LinguistTools"" on KDE Neon. #818
Comments
I don't know what Ubuntu packages you need, but on Arch Linux it is |
Also, did you use |
I tried installed the qt6 versions of the packages you listed and added the option you suggested to the cmake command but the error remains the same. |
You need the Qt5 versions. Do you my chance have some sort of QT5 compatibility layer package? This app hasn't been updated to Qt6 yet as far as I'm aware. See #428. |
I gave that repo a look too, but although now it's correctly looking for the qt6 version of the linguisttools package, it still isn't found. I've searched a bit online too but I couldn't find a solution |
I just found out about qt6-tools-dev-tools, which allowed me to continue, however building now fails at a later stage. During Ninja building, an error pops up that this time I can't understand. I'll post it here FAILED: test/CMakeFiles/test_fileContextMenu.dir/fileContextMenu.cpp.o
/usr/bin/c++ -DCURR_YEAR=2024 -DDEBUG_OUTPUT_GENERAL -DENABLE_UPDATE_OVER_GUI -DGITTYUP_DBUS_INTERFACE_NAME=\"com.github.Murmele.Gittyup.Application\" -DGITTYUP_DBUS_OBJECT_PATH=\"/com/github/Murmele/Gittyup/Application\" -DGITTYUP_IDENTIFIER=\"com.github.Murmele.Gittyup\" -DGITTYUP_NAME=\"Gittyup\" -DGITTYUP_VERSION=\"1.4.0\" -DGIT_EXECUTABLE=\"/usr/bin/git\" -DHUNSPELL_STATIC -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_TESTCASE_BUILDDIR=\"/home/simone/git/Gittyup/build/release/test\" -DQT_TESTCASE_SOURCEDIR=\"/home/simone/git/Gittyup/test\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DSCINTILLA_QT -DSCI_LEXER -DSSH_CONFIG=\"/home/simone/git/Gittyup/test\" -I/home/simone/git/Gittyup/build/release/test/test_fileContextMenu_autogen/include -I/home/simone/git/Gittyup/src -I/home/simone/git/Gittyup/build/release/test -I/home/simone/git/Gittyup/l10n -I/home/simone/git/Gittyup/dep/lua/lua-5.4.0/src -I/home/simone/git/Gittyup/src/util -I/home/simone/git/Gittyup/dep/libgit2/libgit2/include -I/home/simone/git/Gittyup/dep/libssh2/libssh2/include -I/home/simone/git/Gittyup/dep/lpeg/lpeg-1.0.2 -I/home/simone/git/Gittyup/dep/scintilla/lexilla/src -I/home/simone/git/Gittyup/dep/scintilla/lexilla/lexlib -I/home/simone/git/Gittyup/dep/scintilla/lexilla/include -I/home/simone/git/Gittyup/dep/hunspell/hunspell/src/hunspell -I/home/simone/git/Gittyup/dep/cmark/cmark/src -I/home/simone/git/Gittyup/build/release/dep/cmark/cmark/src -I/home/simone/git/Gittyup/test/dep/zip/src -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt6/QtTest -O3 -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/test_fileContextMenu.dir/fileContextMenu.cpp.o -MF test/CMakeFiles/test_fileContextMenu.dir/fileContextMenu.cpp.o.d -o test/CMakeFiles/test_fileContextMenu.dir/fileContextMenu.cpp.o -c /home/simone/git/Gittyup/test/fileContextMenu.cpp
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qiodevice.h:10,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qfiledevice.h:7,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qdirlisting.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qdir.h:9,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/QDir:1,
from /home/simone/git/Gittyup/src/app/Theme.h:13,
from /home/simone/git/Gittyup/src/app/Application.h:13,
from /home/simone/git/Gittyup/test/Test.h:13,
from /home/simone/git/Gittyup/test/fileContextMenu.cpp:1:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h: In instantiation of ‘T QObject::findChild(QAnyStringView, Qt::FindChildOptions) const [with T = IgnoreDialog*; Qt::FindChildOptions = QFlags<Qt::FindChildOption>]’:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:178:28: required from ‘T QObject::findChild(Qt::FindChildOptions) const [with T = IgnoreDialog*; Qt::FindChildOptions = QFlags<Qt::FindChildOption>]’
/home/simone/git/Gittyup/test/fileContextMenu.cpp:445:59: required from here
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:158:62: error: static assertion failed: No Q_OBJECT in the class passed to QObject::findChild
158 | static_assert(QtPrivate::HasQ_OBJECT_Macro<ObjType>::Value,
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:158:62: note: ‘QtPrivate::HasQ_OBJECT_Macro<IgnoreDialog>::Value’ evaluates to false
ninja: build stopped: subcommand failed. |
Hello. I've followed the instructions however upon executing
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../..
Cmake fails printingThe text was updated successfully, but these errors were encountered: