qt compile time error system cannot find the path specified
-
How can solve these error?
-
How can solve these error?
@PranavChamp You start by identifying what file it cannot find. Nothing I see in your screenshot does that.
Also, be very careful to quote any path containing spaces, like this one in your PRO file:
LIBS += -LC:\Program Files\Microsoft Visual...
BTW: You can copy and paste text to make everyone's job easier. Screenshots are not searchable or easily able to be extracted or corrected.
-
@PranavChamp You start by identifying what file it cannot find. Nothing I see in your screenshot does that.
Also, be very careful to quote any path containing spaces, like this one in your PRO file:
LIBS += -LC:\Program Files\Microsoft Visual...
BTW: You can copy and paste text to make everyone's job easier. Screenshots are not searchable or easily able to be extracted or corrected.
@ChrisW67
/OUT:release\RPA_Config.exe @C:\Users\pawan\AppData\Local\Temp\RPA_Config.exe.26844.11344.jom The system cannot find the path specified. jom: C:\Users\pawan\OneDrive\Desktop\RPA_Config_Clone\build-Desktop_Qt_6_7_1_MSVC2019_64bit-Release\Makefile.Release [release\RPA_Config.exe] Error 1 jom: C:\Users\pawan\OneDrive\Desktop\RPA_Config_Clone\build-Desktop_Qt_6_7_1_MSVC2019_64bit-Release\Makefile [release] Error 2 17:31:52: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited with code 2. Error while building/deploying project RPA_Config (kit: Desktop Qt 6.7.1 MSVC2019 64bit) When executing step "Make"when building my project on msvc2019 compiler in qt at the time compilation above error is occurs how can solve these error?
For solving these error i have try below steps:
- I have shift Mingw compiler to MSVC2019_64 for that install visual Studio 2022 and download MSVC 2019 compiler
- In qt build my project using these compiler but it gives above error for that i have change environment variables paths and also configure quazip, sqlcipher, SDL added these DLL in my project also added its path in .pro file
-
Hi, just a guess but try a build directory outside of OneDrive, for example create a directory C:\Source and copy your source folder RPA_Config_Clone there.
@hskoglund
Hello sir , i have try these but same error is occurs -
@hskoglund yes for both gives same error
-
Try removing that LIBS += ... line that @ChrisW67 mentions above from your .pro file (that line shouldn't be necessary).
Also, try building one of Qt's example projects, for example Notepad (Getting Started Programming with...) and see if you get the same error. -
Try removing that LIBS += ... line that @ChrisW67 mentions above from your .pro file (that line shouldn't be necessary).
Also, try building one of Qt's example projects, for example Notepad (Getting Started Programming with...) and see if you get the same error.@hskoglund , when building notepad example then its not gives error and in notepad project
CMakeLists.txt file is their not a .pro file and in my project .pro file is their -
Don't worry, if you want to build the Notepad tutorial example using a .pro file, you can use the Open Project button in Qt Creator and manually navigate to C:\Qt\Examples\Qt-6.7.1\widgets\tutorials\notepad and select the notepad.pro file.
P.S. In your project's .pro file, did you try removing that LIBS += ... line that @ChrisW67 mentioned above?