Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Trying to build Qt 4.12.4 from source
Forum Updated to NodeBB v4.3 + New Features

Trying to build Qt 4.12.4 from source

Scheduled Pinned Locked Moved Unsolved Brainstorm
3 Posts 2 Posters 776 Views 2 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.
  • G Offline
    G Offline
    GalHA
    wrote on last edited by
    #1

    I made it to the step where we generate build files with cmake and I entered the following command:
    cmake -DCMAKE_BUILD_TYPE=Release -G Ninja "-DCMAKE_PREFIX_PATH=~/qt6-build;~/Downloads/libclang" ~/qt-creator-opensource-src-4.12.4

    This is the log I get after running this command:

    -- Could NOT find DesignerComponents (missing: Qt5Designer_INCLUDE_DIRS)
    -- Could NOT find elfutils (missing: ELFUTILS_INCLUDE_DIR ELFUTILS_LIB_dw ELFUTILS_LIB_elf)
    -- PerfParser is disabled. Set ELFUTILS_INSTALL_DIR to enable it.
    -- Found PythonInterp: /usr/bin/python (found version "2.7.18")
    CMake Warning at share/qtcreator/translations/CMakeLists.txt:12 (message):
    No python3 interpreter found, skipping extraction of data from XML and JSON
    files.

    *** Please pass -DPYTHON_EXECUTABLE=/path/to/python3 to cmake.

    CMake Error at cmake/CMakeLists.txt:10 (get_target_property):
    get_target_property() called with non-existent target "Qt5::moc".

    I have latest CMake, LLVM, and Python3 installed

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You've got Qt in the title and qt-creator in the command. Qt 4.12.4 in the title and /qt6-build in the command

      What are you actually trying to build? Qt or Qt Creator? Which version and if creator then against which Qt? On what platform?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GalHA
        wrote on last edited by
        #3
        This post is deleted!
        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