Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 6.5 issue when build from source - Compiler can't find header files
QtWS25 Last Chance

Qt 6.5 issue when build from source - Compiler can't find header files

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt6.5.0build errorlinux
2 Posts 1 Posters 407 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.
  • I Offline
    I Offline
    Imeshsps
    wrote on 10 May 2023, 06:58 last edited by
    #1

    Hey,

    I'm trying to build qt-everywhere-src-6.5.0 for host PC and during the build process, it gives error like below.

    fatal error: QtCore/QProperty: No such file or directory
       11 | #include <QtCore/QProperty>
    

    If I try to replace the include line with absolute path for qproperty.h, compiling will continue from there but then the issue comes for another file for different or same header file. Can anypne help me with this?

    Also I'm keep getting the following warning message for many header files starting from build.

    WARNING: /opt/qtCross/qt-everywhere-src-6.5.0/qttools/src/assistant/help/qcompressedhelpinfo.h does not include QT_BEGIN_NAMESPACE
    

    Really apreciate if anyone can help me with this.

    I'm in Ubuntu 22.04

    Thanks.

    I 1 Reply Last reply 10 May 2023, 12:50
    0
    • I Imeshsps
      10 May 2023, 06:58

      Hey,

      I'm trying to build qt-everywhere-src-6.5.0 for host PC and during the build process, it gives error like below.

      fatal error: QtCore/QProperty: No such file or directory
         11 | #include <QtCore/QProperty>
      

      If I try to replace the include line with absolute path for qproperty.h, compiling will continue from there but then the issue comes for another file for different or same header file. Can anypne help me with this?

      Also I'm keep getting the following warning message for many header files starting from build.

      WARNING: /opt/qtCross/qt-everywhere-src-6.5.0/qttools/src/assistant/help/qcompressedhelpinfo.h does not include QT_BEGIN_NAMESPACE
      

      Really apreciate if anyone can help me with this.

      I'm in Ubuntu 22.04

      Thanks.

      I Offline
      I Offline
      Imeshsps
      wrote on 10 May 2023, 12:50 last edited by
      #2

      @Imeshsps This issue does not seem to come with qt-everywhere-src-6.5.0-rc. I was able to succesfully compile it.

      1 Reply Last reply
      0

      1/2

      10 May 2023, 06:58

      • Login

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