Havoc icon indicating copy to clipboard operation
Havoc copied to clipboard

[Teamserver-Client--Bug]: Qt doesn't gets detect after typing make on fedora.

Open kernelwernel opened this issue 3 years ago • 3 comments

Contact Details

nonce#0001

What happened?

So I first came to an issue with python libs being missing during the cmake build and i figured a solution to the problem, but now I have a qt problem with cmake.

I tried installing loads of different qt packages (qt, qt-devel, qt5, qt5-devel, qt5-qtbase-devel, qt-creator, etc...) but I still can't fix my issue.

I'm using fedora 36 to build the framework

Did You Do a Pull First?

Latest (You performed a pull first)

Relevant log output

[kernel@fedora Client]$ make
mkdir: cannot create directory ‘Build’: File exists
CMake Error at CMakeLists.txt:183 (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" 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.

Did You Read Over Your Issue First?

  • [X] I declare I made an effort and provided the necessary information for replication of the issue.

kernelwernel avatar Oct 25 '22 19:10 kernelwernel

Alright, thanks for opening the issue. Haven't tested it on fedora so i dont fully know how to intsall the dep on fedora. After you install the debs did you retype make? Maybe cmake didn't found it in the first time.

Cracked5pider avatar Oct 25 '22 22:10 Cracked5pider

Alright, thanks for opening the issue. Haven't tested it on fedora so i dont fully know how to intsall the dep on fedora. After you install the debs did you retype make? Maybe cmake didn't found it in the first time.

I have, none of the mentioned packages seems to work for me

kernelwernel avatar Oct 25 '22 22:10 kernelwernel

Have you tried installing all QT packages ? I had a similar issue and managed to fix it using the following command :

sudo dnf install 'qt5*devel'

Atsika avatar Jan 03 '23 14:01 Atsika