Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. "Could not find a package configuration file provided by "Qt5Widgets""
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 801 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.
  • A Offline
    A Offline
    Arthurfogo7
    wrote on last edited by Arthurfogo7
    #1

    I have been trying to build a software that uses cmake, but I don't have the necessary packages from qt5. Both " Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake" are not in the qt folder, so I need to know how I can get them.
    I saw that some people solved this problem by adding this in the "cmakelist.txt": set (CMAKE_PREFIX_PATH "C:\Qt\Qt5.0.1\5.0.1\msvc2010\")
    But this folder doesn't even exist in my computer, so I don't know exaclty what to do.

    The files are not there

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

      Hi and welcome to devnet,

      You might want to consider moving to a more recent version of Qt because 5.0.1 is clearly outdated and had not cmake integrated yet.

      Otherwise, you will need to either implement the Qt5 find module yourself. Or maybe KDE's ecm module might also help.

      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