Skip to content
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

CMake files don't work #51

Open
mindeye33 opened this issue Jul 28, 2021 · 0 comments
Open

CMake files don't work #51

mindeye33 opened this issue Jul 28, 2021 · 0 comments

Comments

@mindeye33
Copy link
Contributor

Trying to compile with cmake seems to cause a lot of issues, mainly with QT. They seem to constantly mix qt4 and qt5, and it is possible that they might work with a combination of qt 4 and 5 (not good). Some other ones seem to have packages that have a different name on my qt5 such as this one from CMakeLists.txt (notice the prefix Qt is not needed anymore)

-find_package(Qt5 COMPONENTS QtCore QtGui QtNetwork QtOpenGL QtSql QtXml
+find_package(Qt5 COMPONENTS Core Gui Network OpenGL Sql Xml

On the same file, it also has "include(${QT_USE_FILE})", which is not used in QT5 anymore, even though the find_package is using qt5. Fixing these two still didn't work since most of the CMakeLists are still using qt4 and qt5 interchangeably. It might be a good idea to tell other developers to avoid using the cmake for now and stick with the qmake+make compilation, to avoid late-night tear sheds and frustration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant