All Questions
263
questions
0
votes
0
answers
78
views
CMake error when trying to install latte-dock from github repo
I am using Arch with Kde plasma.
I was trying to install latte-dock and in some videos it showed that you could do that by simply using pacman -S latte-dock, but now the package cant be found anymore, ...
0
votes
0
answers
23
views
Error when working with tests on qt5, CMake
I am trying to use QtTest, but I am getting the following error:
error: Could not find a package configuration file provided by "Qt5Tests" with any of the following names: Qt5TestsConfig....
1
vote
0
answers
87
views
Can not play video with cmake but can with qmake
On Windows 10,
after installing the video codecs with
winget install CodecGuide.K-LiteCodecPack.Basic
Using QtCreator, I can build and run the qmake project and it will play the video,
https://file-...
0
votes
0
answers
59
views
QTranslator does not load qm files
I created two simple applications using Qt Creator master of new project, one uses qmake, the other CMake.
The qmake based app translates Ok, but the CMake one does not. I started to debug and observe ...
0
votes
0
answers
37
views
Multiple versions of Qt in a CMake project
I have a CMake project with various targets which include/link to Qt5. Some targets use a v5.15 build, while others need to use v5.13 from another build directory.
It looks like find_package for Qt ...
0
votes
0
answers
43
views
Using debuild to build rpi-imager, I see an error finding Qt5.14 or better
I'm running debuild on Debian 10 to build rpi-imager, and it's failing to find Qt5.14 (or better):
/rpi-imager$ debuild -uc -us -d
dpkg-buildpackage -us -uc -ui -d
dpkg-buildpackage: info: source ...
0
votes
0
answers
104
views
A proper way to init libqgit2 for QtCreator on macOS
I am a newbie to Qt development and trying to set up a dev environment on macOS with libqgit2.
I installed Qt Creator, created a blank project (CMake build system), downloaded libqgit from github and ...
0
votes
0
answers
159
views
How exactly to specify Qt5 path to CMake?
I'm currently trying to build the latest version of MuseScore 4, whose source I pulled from the official GitHub repo by simply cloning the latter locally.
I keep on getting the following error when ...
0
votes
1
answer
254
views
How to check an OPTIONAL_COMPONENT using find_package in cmake?
I want to build a specific feature of a GUI only if a certain component of a package is found. If not, the GUI should be built either way, but without this feature. The idea would be something like ...
1
vote
1
answer
369
views
CMake does not run moc for a Q_NAMESPACE in a shared library
Problem
I'm trying to register a namespace in QML from a shared library, but the compilation fails with an unresolved external symbol error:
failed (exit code 1120) with the following output:
main.cpp....
0
votes
0
answers
124
views
Duplicate symbol when statically linking Qt5 libraries
I'm trying to compile QT5 in C++ with Cmake on mac M1,
For now i can try with Fedora and it's working, but not on my mac.
This is my CMake File :
cmake_minimum_required(VERSION 3.0)
project(rtype)
...
0
votes
0
answers
248
views
Cant find Qt5Core.lib
When building a project with
cmake .
the command
find_package(Qt5Core REQUIRED)
in the CMakeLists fails.
It throws
CMake Error at C:/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/...
0
votes
1
answer
124
views
Can't run OpenCV-App because of runtime error missing Qt5OpenGL.dll and Qt5Test.dll
I want to build an application using the OpenCV library built with cmake.
First I downloaded the sources for opencv4.5.5. I created in that folder a subfolder mingwbuild and from there I can the ...
1
vote
1
answer
279
views
KDevelop Python Support not compiling
I have already installed kdevelop and all it's packages from dnf but they don't kdev-python from https://invent.kde.org/kdevelop/kdev-python. So I am trying it to build from source. I have all the ...
0
votes
1
answer
54
views
Error when compiling autoware: members matching function of a non-direct base class
I'm compiling autoware.fundation tools, but when I build it with the instructions on the https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/
I ...