Fresh windows, cant link QT...
Moved
Unsolved
Qt Creator and other tools
-
Hey
Ohh joy :D, So here is my error >
Could not find a configuration file for package "Qt6" that is compatible with requested version "". The following configuration files were considered but not accepted: C:/Qt/6.2.0/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake, version: 6.2.0 (64bit)
And here is cmake :
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QT_PATH}) set(QT_VERSION 6) set(REQUIRED_LIBS Core Widgets Gui Network OpenGL Concurrent OpenGLWidgets) set(REQUIRED_LIBS_QUALIFIED_QT Qt6::Core Qt6::Widgets Qt6::Gui Qt6::Network Qt6::OpenGL Qt6::Concurrent Qt6::OpenGLWidgets) set(QT_PATHLib ${REQUIRED_LIBS_QUALIFIED_QT}) message(${sp} " QT : " ${QT_PATH}) message(${sp} "FindPackage QT : " "Qt${QT_VERSION}" " COMPONENTS : " "${REQUIRED_LIBS} " "REQUIRED") message(\n\n ${sp} "QT Files\n") find_package(Qt${QT_VERSION} COMPONENTS ${REQUIRED_LIBS} REQUIRED)
QtCreator compiles stuff fine.
Visual Studio compiles too
Clion has mental breakdown