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. QtQuick Controls module not being detected properly

QtQuick Controls module not being detected properly

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.3k 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
    Babalas
    wrote on last edited by
    #1

    I'm using cmake as the build system which for the most part works fine. However the qtquickcontrols module gets a red highlight on the import statement and their is no autocomplete for any of the controls. They work fine however in my application.
    When I was playing around I created a Qt Quick 2 with controls project and everything works as expected there. I went looking through the files it created but I can't find anything that hints at what I'm missing in the cmake file.
    Is there something I should set somewhere to have it detect properly?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jmgr
      wrote on last edited by
      #2

      Same problem here. Is there a solution with Qt 5.1 and QtCreator 2.7.2? (also doesn't work with 2.8.0)

      Everything works fine when using QMake but not with CMake. Compilation/Run works fine but you cannot edit QML files in QtCreator, which defeats somewhat the purpose of QML.

      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