Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Error building QtCreator from source
Forum Update on Monday, May 27th 2025

Error building QtCreator from source

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 186 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.
  • B Offline
    B Offline
    brighton64
    wrote on last edited by
    #1

    Can someone help me.
    I am facing a chanllenge when building qtcreator from source.
    It fails with error:

    CMake Error at src/plugins/qmlpreview/CMakeLists.txt:28 (get_target_property):
      get_target_property() called with non-existent target "Qt5::QmlPrivate".
    

    I was trying to build using the command:

    cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH='/usr/lib64/cmake/Qt5/';/bin" "/home/taps/Downloads/Programs/qt-creator/"
    

    Information about my system:

    Operating System: openSUSE Tumbleweed 20211214
    KDE Plasma Version: 5.23.4
    KDE Frameworks Version: 5.89.0
    Qt Version: 5.15.2
    Kernel Version: 5.15.6-1-default (64-bit)
    Graphics Platform: X11
    Processors: 4 × Intel® Core™ i5-4200M CPU @ 2.50GHz
    Memory: 11.5 GiB of RAM
    Graphics Processor: Mesa DRI Intel® HD Graphics 4600
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      It looks like you are using your distribution provided Qt. If so, then you have to install the development packages that provide the private parts of Qt.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - 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