Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt compile time error system cannot find the path specified
Forum Updated to NodeBB v4.3 + New Features

qt compile time error system cannot find the path specified

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 458 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PranavChamp
    wrote on last edited by PranavChamp
    #1

    Screenshot 2024-07-12 110841.png
    How can solve these error?

    Screenshot 2024-07-12 105708.png
    Screenshot 2024-07-12 105803.png
    Screenshot 2024-07-11 103656.png

    C 1 Reply Last reply
    0
    • P PranavChamp

      Screenshot 2024-07-12 110841.png
      How can solve these error?

      Screenshot 2024-07-12 105708.png
      Screenshot 2024-07-12 105803.png
      Screenshot 2024-07-11 103656.png

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @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.

      P 1 Reply Last reply
      1
      • C ChrisW67

        @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.

        P Offline
        P Offline
        PranavChamp
        wrote on last edited by
        #3

        @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:

        1. I have shift Mingw compiler to MSVC2019_64 for that install visual Studio 2022 and download MSVC 2019 compiler
        2. 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
        1 Reply Last reply
        0
        • hskoglundH Online
          hskoglundH Online
          hskoglund
          wrote on last edited by
          #4

          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.

          P 1 Reply Last reply
          0
          • hskoglundH hskoglund

            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.

            P Offline
            P Offline
            PranavChamp
            wrote on last edited by
            #5

            @hskoglund
            Hello sir , i have try these but same error is occurs

            1 Reply Last reply
            0
            • hskoglundH Online
              hskoglundH Online
              hskoglund
              wrote on last edited by
              #6

              And if you try to build in Release mode (not Debug) you get the same error?

              P 1 Reply Last reply
              0
              • hskoglundH hskoglund

                And if you try to build in Release mode (not Debug) you get the same error?

                P Offline
                P Offline
                PranavChamp
                wrote on last edited by
                #7

                @hskoglund yes for both gives same error

                1 Reply Last reply
                0
                • hskoglundH Online
                  hskoglundH Online
                  hskoglund
                  wrote on last edited by
                  #8

                  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.

                  P 1 Reply Last reply
                  1
                  • hskoglundH hskoglund

                    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.

                    P Offline
                    P Offline
                    PranavChamp
                    wrote on last edited by PranavChamp
                    #9

                    @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

                    Screenshot (912).png

                    1 Reply Last reply
                    0
                    • hskoglundH Online
                      hskoglundH Online
                      hskoglund
                      wrote on last edited by
                      #10

                      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?

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved