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. After upgrading to Win11, compiling project is failed.

After upgrading to Win11, compiling project is failed.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 320 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.
  • W Offline
    W Offline
    Wunian
    wrote on last edited by
    #1

    Hi, all:
    Good day.
    My project can be compiled/linked fine on Win10.
    After upgrading to Win11, compiling project is always failed, but I don't modify anything in project.

    The warning and error messages are below,

    1. warning: The build directory is not at the same level as the source directory, which could be the reason for the build failure.
    2. error: dependent '........\Qt\6.4.0\msvc2019_64\include\QtCore\QtGlobal' does not exist.

    May I know how to solve these issues ?
    Thanks.

    Have a nice day.

    Wunian

    Christian EhrlicherC 1 Reply Last reply
    0
    • W Wunian

      Hi, all:
      Good day.
      My project can be compiled/linked fine on Win10.
      After upgrading to Win11, compiling project is always failed, but I don't modify anything in project.

      The warning and error messages are below,

      1. warning: The build directory is not at the same level as the source directory, which could be the reason for the build failure.
      2. error: dependent '........\Qt\6.4.0\msvc2019_64\include\QtCore\QtGlobal' does not exist.

      May I know how to solve these issues ?
      Thanks.

      Have a nice day.

      Wunian

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

      Start with a new build directory and put it on the same level as the source (as the warning tells you).

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

      W 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        Start with a new build directory and put it on the same level as the source (as the warning tells you).

        W Offline
        W Offline
        Wunian
        wrote on last edited by
        #3

        @Christian-Ehrlicher
        Thank you for your reply.
        After trying, this issue is solved.
        Have a nice day.

        1 Reply Last reply
        1
        • W Wunian has marked this topic as solved on

        • Login

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