I got the following error code after i built the QCA lib to a seperat directory as the CMakeLists.txt exists.
I got Qt 6.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at CMakeLists.txt:47 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" (requested
version 5.9) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "C:/SDK/qca-master/CMakeFiles/CMakeOutput.log".
Related
Getting following error while building ownclient project
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at admin/osx/CMakeLists.txt:14 (find_package):
Could not find a configuration file for package "Qt5" that is compatible with the requested version "5.6".
The following configuration files were considered but not accepted:
C:/Qt/Qt5.5.1/5.5/mingw492_32/lib/cmake/Qt5/Qt5Config.cmake, version: 5.5.1
And if I compile this project using a version above 5.5 then this error occurs
C:\Qt\Qt5.13.2\5.13.2\mingw73_32\lib\cmake\Qt5WebKitWidgets\Qt5WebKitWidgetsConfig.cmake:15:
error: The imported target "Qt5::WebKitWidgets" references the file "C:/Qt/Qt5.13.2/5.13.2/mingw73_32/include/QtWebKitWidgets" but this file does not exist.
I am trying to build an open source software using cMake and Visual Studio 2017 on Windows 10.
Came across this error:
Checking for module 'sqlite3'
No package 'sqlite3' found
I have already downloaded and installed sqlite3:
sqlite3 --version
3.28.0 2019-04-16 19:49:53 884b4b7e502b4e991677b53971277adfaf0a04a284f8e483e2553d0f83156b50
Folder containing these files are added as well in the PATH and PKG_CONFIG_PATH (and already did a restart):
sqlite3.dll
sqlite3.def
sqlite3.exe
even have sqldiff.exe, sqlite3_analyzer in the same folder.
What should I do?? Or perhaps is there a way to force cmake to use the one in my local rather than still looking for the package in pkg-config??
All other references online are only referring to Linux :(
When I run windeployqt to deploy my application, I get the following warning:
Warning: Cannot find GCC installation directory. g++.exe must be in the path.
Even though I have set the Path environment variable to include the Qt's MinGW binary files located at C:\Qt\Qt5.12.0\5.12.0\mingw73_64\bin. As a result, I can see that the compiler runtime libraries are not included in the deployed package, even when I explicitly use --compiler-runtime flag. I am not sure what step I am missing?
The problem is that you should also install MinGW compiler when installing the Qt (to do so, check "MinGW compiler" under the "tools" section in installation wizard) and then add its path to the Path environment variable:
C:\Qt\Qt5.12.0\Tools\mingw730_64\bin
That's where all the related compiler binaries, including g++, are located. Also, don't forget that you may need to reboot the computer after setting the path.
I am trying to use the qt conan package qt/5.6.2#osechet/stable to add qt to an existing project. For this project I need the Qt help package.
I have:
[requires]
qt/5.6.2#osechet/stable
[options]
qt:tools=True
in my conanfile.
How do I get the package to build with the Qt5Help package?
I have been unable to find Qt documentation on how Qt5Help is built to modify the package recipe. It is not listed as a module in the repository despite being listed here: http://doc.qt.io/qbs/qt-modules.html on the modules list.
The Qt5Help package is contained by building the tools submodule. The reason this did not work originally is that the conan package for 5.6.2 does not have the tools submodule option defined. To solve this I build my own conan package for 5.6.2 from the 5.8.0 master branch of the osechet/conan-qt repo.
I just downloaded the latest release of ArrayFire (3.3.1), and am trying to build it. I'm stuck at cmake . though. I installed a bunch of missing libraries, reran it, and now I get:
-- Could NOT find LAPACK (missing: LAPACK_LIBRARIES)
CMake Warning at src/backend/opencl/CMakeLists.txt:38 (MESSAGE):
LAPACK not found. Functionality will be disabled
and
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLEWmxd_LIBRARY
linked by target "afcpu" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/cpu
linked by target "afcuda" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/cuda
linked by target "afopencl" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/opencl
I have installed lapack, and it's at /usr/lib/liblapack.so (that's an alternatives symlink, but it's not broken). Also installed lapacke.
ArrayFire requires the LAPACKE library (On Ubuntu, liblapacke-dev, and the graphics part requires GLEW-MX (on Ubuntu, libglewmx-dev).