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. Could not find a package configuration file provided by "Qt5Quick"
Forum Updated to NodeBB v4.3 + New Features

Could not find a package configuration file provided by "Qt5Quick"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 7.8k 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.
  • B Offline
    B Offline
    beampower
    wrote on last edited by
    #1

    I was trying to install Marble, the Google Earth substitute, on Ubuntu 16.04 (64-bit).
    Marble needed Qt5 installed.
    So I installed the Qt5 in accordance with the instructions I found here: https://wiki.qt.io/Install_Qt_5_on_Ubuntu

    Now when I try to run cmake on Marble, I keep hitting Qt5 dependency errors?
    First I got an error: Could not find a package configuration file provided by "Qt5LinguistTools"
    So I ran: sudo apt-get install qttools5-dev-tools libqt5svg5-dev qtmultimedia5-dev

    I tried cmake for Marble again. It got a little farther this time until I got this:
    Could not find a package configuration file provided by "Qt5Quick"

    Then I ran:sudo apt-get install qtbase5-dev

    That did not help.
    I had hoped the installation of the dev kit carried all the needed materials.

    I’m stuck.
    Any suggestions?


    The complete printout as a result of cmake is:

    CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package):
    Could not find a package configuration file provided by "Qt5Quick" with any
    of the following names:

    Qt5QuickConfig.cmake
    qt5quick-config.cmake
    

    Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set
    "Qt5Quick_DIR" to a directory containing one of the above files. If
    "Qt5Quick" provides a separate development package or SDK, be sure it has
    been installed.
    Call Stack (most recent call first):
    CMakeLists.txt:109 (find_package)

    -- Configuring incomplete, errors occurred!
    See also "/home/user/Downloads/marble/build/CmakeFiles/CmakeOutput.log".


    Qt Creator info:
    Qt Creator 4.0.2
    Based on Qt 5.7.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)
    Built on Jun 13 2016 01:05:36
    From revision 47b4f2c738

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt are you using exactly ?
      From the looks of it you didn't install all the required dev dependencies.

      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