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. Qt6 not found even after installing it.
Forum Updated to NodeBB v4.3 + New Features

Qt6 not found even after installing it.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 845 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.
  • R Offline
    R Offline
    Raghav
    wrote on last edited by
    #1

    Hi
    I am using Qt 6.5.0 and I am using Ubuntu.
    I am making a project using Qt Quick and C++ but when I run CMake it throws me this error

    /media/raghav/Workspace/watch-core/CMakeLists.txt:8: error: Found package configuration file: /media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND.  Reason given by package: Failed to find required Qt component "Quick". Expected Config file at "/media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists
    

    I also added some paths to system env but still error presists.

    Please help me out.

    Thanks

    R 1 Reply Last reply
    0
    • goldenhawkingG Offline
      goldenhawkingG Offline
      goldenhawking
      wrote on last edited by
      #2

      @Raghav said in Qt6 not found even after installing it.:

      g Qt 6.5.0 and I am using Ubuntu.
      I am making a project using Qt Quick and C++ but when I run CMake it throws me this error
      /media/raghav/Workspace/watch
      It seems that 'Quick' module is missing. Run apt search qt6, find out whether qt quick 6 has been installed.

      Qt is the best C++ framework I've ever met.

      1 Reply Last reply
      0
      • R Raghav

        Hi
        I am using Qt 6.5.0 and I am using Ubuntu.
        I am making a project using Qt Quick and C++ but when I run CMake it throws me this error

        /media/raghav/Workspace/watch-core/CMakeLists.txt:8: error: Found package configuration file: /media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND.  Reason given by package: Failed to find required Qt component "Quick". Expected Config file at "/media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists
        

        I also added some paths to system env but still error presists.

        Please help me out.

        Thanks

        R Offline
        R Offline
        Raghav
        wrote on last edited by
        #3

        @Raghav
        I agree even I use Qt with C++ as well as Python for most of my projects but after reinstalling Ubuntu due to some reason I lost my previous configurations.

        mzimmersM 1 Reply Last reply
        0
        • R Raghav

          @Raghav
          I agree even I use Qt with C++ as well as Python for most of my projects but after reinstalling Ubuntu due to some reason I lost my previous configurations.

          mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          @Raghav I think I ran into this myself once. May we see your CMakeLists.txt file?

          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