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 5.7.0 error after fresh install
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7.0 error after fresh install

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 3 Posters 3.0k 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.
  • saitejS Offline
    saitejS Offline
    saitej
    wrote on last edited by
    #1

    Hi

    I have done a fresh install of Qt 5.7.0 mingw version in windows with the online installer. I get the following error but it still builds the application.

    Starting: "C:\Qt\5.7\mingw53_32\bin\qmake.exe" C:......\test.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.

    Any possible solution ?

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by
      #2

      Hi,
      try to use a full path in the -spec C:\Qt\5.7\mingw53_32\mkspecs\win32-g++ parameter.
      -Michael.

      saitejS 1 Reply Last reply
      0
      • m.sueM m.sue

        Hi,
        try to use a full path in the -spec C:\Qt\5.7\mingw53_32\mkspecs\win32-g++ parameter.
        -Michael.

        saitejS Offline
        saitejS Offline
        saitej
        wrote on last edited by
        #3

        @m.sue

        Hi

        I am not able to edit the qmake command via Projects->build. Is there any other way to do what you suggested?

        jsulmJ m.sueM 2 Replies Last reply
        0
        • saitejS saitej

          @m.sue

          Hi

          I am not able to edit the qmake command via Projects->build. Is there any other way to do what you suggested?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @saitej Is this a typo "C:......\test.pro" or is it what you really see in the output?
          Do you really have a pro file in c:\ ?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          saitejS 1 Reply Last reply
          0
          • saitejS saitej

            @m.sue

            Hi

            I am not able to edit the qmake command via Projects->build. Is there any other way to do what you suggested?

            m.sueM Offline
            m.sueM Offline
            m.sue
            wrote on last edited by
            #5

            @saitej said in Qt 5.7.0 error after fresh install:

            I am not able to edit the qmake command via Projects->build

            Sorry, I got the impression you would call the qmake command by hand from the command line.
            -Michael.

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @saitej Is this a typo "C:......\test.pro" or is it what you really see in the output?
              Do you really have a pro file in c:\ ?

              saitejS Offline
              saitejS Offline
              saitej
              wrote on last edited by
              #6

              @jsulm

              Its not a typo.I just edited the path to remove user details

              jsulmJ 1 Reply Last reply
              0
              • saitejS saitej

                @jsulm

                Its not a typo.I just edited the path to remove user details

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @saitej Can you show the pro file?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                saitejS 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @saitej Can you show the pro file?

                  saitejS Offline
                  saitejS Offline
                  saitej
                  wrote on last edited by
                  #8

                  @jsulm

                  Ya .. It works with 5.6.1 though!!

                  .pro file

                  #-------------------------------------------------
                  #
                  # Project created by QtCreator 2016-09-30T09:28:36
                  #
                  #-------------------------------------------------
                  
                  QT       += core gui quickwidgets qml quick location location-private positioning-private xml
                  
                  greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport network sql opengl svg
                  
                  TARGET = MapTest
                  TEMPLATE = app
                  
                  
                  SOURCES += main.cpp\
                          mainwindow.cpp
                  
                  HEADERS  += mainwindow.h
                  
                  FORMS    += mainwindow.ui
                  
                  
                  
                  
                  
                  jsulmJ saitejS 2 Replies Last reply
                  0
                  • saitejS saitej

                    @jsulm

                    Ya .. It works with 5.6.1 though!!

                    .pro file

                    #-------------------------------------------------
                    #
                    # Project created by QtCreator 2016-09-30T09:28:36
                    #
                    #-------------------------------------------------
                    
                    QT       += core gui quickwidgets qml quick location location-private positioning-private xml
                    
                    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport network sql opengl svg
                    
                    TARGET = MapTest
                    TEMPLATE = app
                    
                    
                    SOURCES += main.cpp\
                            mainwindow.cpp
                    
                    HEADERS  += mainwindow.h
                    
                    FORMS    += mainwindow.ui
                    
                    
                    
                    
                    
                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @saitej said in Qt 5.7.0 error after fresh install:

                    QT += core gui quickwidgets qml quick location location-private positioning-private xml

                    Why do you have so many Qt modules? Do you really need all of them?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • saitejS saitej

                      @jsulm

                      Ya .. It works with 5.6.1 though!!

                      .pro file

                      #-------------------------------------------------
                      #
                      # Project created by QtCreator 2016-09-30T09:28:36
                      #
                      #-------------------------------------------------
                      
                      QT       += core gui quickwidgets qml quick location location-private positioning-private xml
                      
                      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport network sql opengl svg
                      
                      TARGET = MapTest
                      TEMPLATE = app
                      
                      
                      SOURCES += main.cpp\
                              mainwindow.cpp
                      
                      HEADERS  += mainwindow.h
                      
                      FORMS    += mainwindow.ui
                      
                      
                      
                      
                      
                      saitejS Offline
                      saitejS Offline
                      saitej
                      wrote on last edited by saitej
                      #10

                      @jsulm

                      Ya I will need all of them

                      jsulmJ 1 Reply Last reply
                      0
                      • saitejS saitej

                        @jsulm

                        Ya I will need all of them

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @saitej Do you see that warnings if you only add Qt modules you're currently using?
                        Don't forget to call qmake and rebuild after changing pro file.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • saitejS Offline
                          saitejS Offline
                          saitej
                          wrote on last edited by
                          #12

                          No. There is no difference if I remove them

                          jsulmJ 1 Reply Last reply
                          0
                          • saitejS saitej

                            No. There is no difference if I remove them

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @saitej You could try to call qmake manually with -d parameter to get more debug output. Maybe you then will see what actually is not found.

                            C:\Qt\5.7\mingw53_32\bin\qmake.exe" -d C:......\test.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug
                            

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            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