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] How to make QtCreator support qtquick imports when using CMake?

[solved] How to make QtCreator support qtquick imports when using CMake?

Scheduled Pinned Locked Moved Qt Creator and other tools
qtquickcmakeqtcreator
2 Posts 1 Posters 911 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.
  • David.GD Offline
    David.GD Offline
    David.G
    wrote on last edited by David.G
    #1

    Wasn't sure whether to post this here or in QtQuick forum. Before I begin I should thank you guys for the help, I try to give back and help other users when there's free time. Also, embedding QtQuick qml files in widgets is making me euphoric on how awesome that is.

    Now to business, I'm having problems with QtCreator as it won't "import" anything even though I can. The project has been set up to use CMake, which isn't a problem as QtQuick works as expected, but, trying to make QtCreator recognizeQtQuick.Controls or QtQuick.Dialogs is impossible right now. I'd like the extra sugar as autocomplete is always a must-have, especially with QML.

    Screenshots of what I mean:

    Snapshot 1
    Snapshot 2

    Any help appreciated.

    1 Reply Last reply
    0
    • David.GD Offline
      David.GD Offline
      David.G
      wrote on last edited by
      #2

      I'm gonna mark this as solved... QtCreator started recognizing the QML this evening for some reason, so not sure what happened there.

      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