Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] QtCreator and Cmake
Forum Updated to NodeBB v4.3 + New Features

[Solved] QtCreator and Cmake

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 3.1k 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.
  • M Offline
    M Offline
    mpaiva
    wrote on last edited by
    #1

    Hello folks,

    I've been already able to compile Amarok using cmake from the command line.

    Now i've tried to open the project using QT Creator. Right when i open it, it prompts for running cmake (asks for the right arguments).

    But then i get the error:

    @CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:875 (MESSAGE):
    Could NOT find QtCore. Check
    /home/mpaiva/amarok/amarok-2.7.0-build/CMakeFiles/CMakeError.log for more
    details.
    Call Stack (most recent call first):
    /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:420 (find_package)
    /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
    CMakeLists.txt:89 (find_package)
    @

    It's weird because I am able to run cmake from the shell.

    I'm on ubuntu 12.04.

    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mpaiva
      wrote on last edited by
      #2

      Changing QTVersion (Options > Build & Run > Kits) to 4.8.1 (instead of 5.0.1) solved the issue.

      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