How can i upgrade my project from 6.7.0 to 6.7.1
-
Hi! i'm trying to use Qt6SerialPort module in my project and i installed it with the Qt 6.7.1 version because i couldn't find it the Qt 6.7.0 and my project is in the Qt 6.7.0, also my build system is CMake. when compiling i get this error :
CMake Error at CMakeLists.txt:12 (find_package): Found package configuration file: C:/Qtinstallatio/6.7.0/mingw_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "SerialPort". Expected Config file at "C:/Qtinstallatio/6.7.0/mingw_64/lib/cmake/Qt6SerialPort/Qt6SerialPortConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6SerialPort might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
so how can i upgrade it, also i read online that there's a risk of losing your files so how can i avoid that.
-
Hi! i'm trying to use Qt6SerialPort module in my project and i installed it with the Qt 6.7.1 version because i couldn't find it the Qt 6.7.0 and my project is in the Qt 6.7.0, also my build system is CMake. when compiling i get this error :
CMake Error at CMakeLists.txt:12 (find_package): Found package configuration file: C:/Qtinstallatio/6.7.0/mingw_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "SerialPort". Expected Config file at "C:/Qtinstallatio/6.7.0/mingw_64/lib/cmake/Qt6SerialPort/Qt6SerialPortConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6SerialPort might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
so how can i upgrade it, also i read online that there's a risk of losing your files so how can i avoid that.
@Sadok_J said in How can i upgrade my project from 6.7.0 to 6.7.1:
i read online that there's a risk of losing your files so how can i avoid that.
There is no risk.
so how can i upgrade it,
If you are using Qt Creator to compile your project, simply go to Project then select your newly installed kit for Qt 6.7.1. Compile and run - should work.
If you are compiling from command line, make sure you prepend Qt 6.7.1 to PATH or set up you cmake prefix properly.