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. [QtCreator] Clicking light bulb forces .h file to be displayed
Forum Updated to NodeBB v4.3 + New Features

[QtCreator] Clicking light bulb forces .h file to be displayed

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 187 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.
  • M Offline
    M Offline
    MasterBlade
    wrote on last edited by
    #1

    Just updated QtCreator to 8.0.2, but the problem persists in older versions as well.

    When you modify a function declaration in .h file, a light bulb icon will appear. Clicking it will update the corresponding .cpp file to match the function definition.

    However after clicking the light bulb, QtCreator tries to switch back to .h file. Even if you opened the .cpp file, you will be redirected to the .h file after a second. Closing the .h file is not helping as it will be reopened. The only way to solve the problem is to close QtCreator completely.

    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