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. Getting multiple errors just by starting a project for Qt.
Forum Updated to NodeBB v4.3 + New Features

Getting multiple errors just by starting a project for Qt.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 244 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    Swyftl
    wrote on last edited by
    #1

    Hey all,
    I have just started trying to use Qt for game development, as I want more minute control over the details of the game and other things of the such.

    As i started up the project, I got this error

    command-line error: specified directory via --current_directory option isn't a directory:
    /AutoPCHD:\Projects\CPP\RootEngine\.vs\RootEngine\v17\ipch\AutoPCH\fa03e72376d247fc
    

    And also getting this error:

    ERROR running qmake: "C:/Qt/6.8.2/mingw_64/bin/qmake"  -tp vc -early "CONFIG -= debug release debug_and_release" "CONFIG += debug warn_off"  qtvars.pro
    

    The first error is permanently in the bottom bar, and the second error makes the build process stop every time so I can't continue without clearing the error. The only thing that I have seen is telling me to make sure that Qt and VSCode are up to date, both of which are both on the latest version.

    jsulmJ Christian EhrlicherC 2 Replies Last reply
    0
    • S Swyftl

      Hey all,
      I have just started trying to use Qt for game development, as I want more minute control over the details of the game and other things of the such.

      As i started up the project, I got this error

      command-line error: specified directory via --current_directory option isn't a directory:
      /AutoPCHD:\Projects\CPP\RootEngine\.vs\RootEngine\v17\ipch\AutoPCH\fa03e72376d247fc
      

      And also getting this error:

      ERROR running qmake: "C:/Qt/6.8.2/mingw_64/bin/qmake"  -tp vc -early "CONFIG -= debug release debug_and_release" "CONFIG += debug warn_off"  qtvars.pro
      

      The first error is permanently in the bottom bar, and the second error makes the build process stop every time so I can't continue without clearing the error. The only thing that I have seen is telling me to make sure that Qt and VSCode are up to date, both of which are both on the latest version.

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

      @Swyftl said in Getting multiple errors just by starting a project for Qt.:

      ERROR running qmake: "C:/Qt/6.8.2/mingw_64/bin/qmak

      Please post the actual error

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

      1 Reply Last reply
      0
      • S Swyftl

        Hey all,
        I have just started trying to use Qt for game development, as I want more minute control over the details of the game and other things of the such.

        As i started up the project, I got this error

        command-line error: specified directory via --current_directory option isn't a directory:
        /AutoPCHD:\Projects\CPP\RootEngine\.vs\RootEngine\v17\ipch\AutoPCH\fa03e72376d247fc
        

        And also getting this error:

        ERROR running qmake: "C:/Qt/6.8.2/mingw_64/bin/qmake"  -tp vc -early "CONFIG -= debug release debug_and_release" "CONFIG += debug warn_off"  qtvars.pro
        

        The first error is permanently in the bottom bar, and the second error makes the build process stop every time so I can't continue without clearing the error. The only thing that I have seen is telling me to make sure that Qt and VSCode are up to date, both of which are both on the latest version.

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Swyftl said in Getting multiple errors just by starting a project for Qt.:

        "C:/Qt/6.8.2/mingw_64/bin/qmake" -tp vc

        Why do you want to create a visual studio solution when you are using mingw? This does not match.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        2

        • Login

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