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. Cant select any constructor from base class but the default one.
Forum Updated to NodeBB v4.3 + New Features

Cant select any constructor from base class but the default one.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 1 Posters 287 Views
  • 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
    AdSe23
    wrote on last edited by
    #1

    Hello, as discribed i can only select the default construcor from the base class when trying to generate a c-tor using refactoring, even when its deleted, can anyone help? Thank you in advance

    alt text

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AdSe23
      wrote on last edited by
      #2

      Still not fixed in 10.0.2

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AdSe23
        wrote on last edited by
        #3

        I tested this on multiple instances of QtCreator so i dont think this cant be reproduced by anyone, why am i getting zero response for my issue?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AdSe23
          wrote on last edited by AdSe23
          #4

          Found that by changing the order the c-tors are declared in the base.h QtCreator uses always the first c-tor declared, and if its a parametrised one it will properly call Base(parm1, ...) in the Derived() c-tor that is generated. So this is definitely a bug in QtCreator and not an issue with QtCreator unable to generate for classes that are not derived from QObject....

          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