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. QT Creator with Designer [SOLVED]

QT Creator with Designer [SOLVED]

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 3.5k 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.
  • D Offline
    D Offline
    dakyaze
    wrote on last edited by
    #1

    Hi,
    I actually use VS 2010/VSAddIn, but I think about to switch to Creator. I have on problem with Creator, I cannot promote like native Designer (modified), because I need to derive from QMainWindow and QDialog. On native Designer 4.7.x, I changed \qt\tools\designer\src\lib\shared\promotiontaskmenu.cpp and \qt\tools\designer\src\lib\shared\qdesigner_promotion.cpp, to allow QMainWindow and QDialog are visible in the Promote-Dialog.
    In QT Creator Source (designer), I could not found these files. How can I modify source, to achive same behaviour like native Designer ?

    Regards,
    Peter

    Regards,
    Peter
    AZE GmbH Erlangen

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      I don't know a solution for the builtin designer component of Creator, but you can still use your external, native Designer to create the .ui files for the time being.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dakyaze
        wrote on last edited by
        #3

        Hi, Volker
        The same "promote" dialog is in Qt Creator Designer, which source does contain the List with "QMainWindow","QDialog","QFrame" and so on ?
        Retards,
        Peter

        Regards,
        Peter
        AZE GmbH Erlangen

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Duck
          wrote on last edited by
          #4

          Given that the Qt Creator Designer plugin links to libQtDesigner your changes should appear directly in Creator when you build it against your modified version of Qt.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dakyaze
            wrote on last edited by
            #5

            Hi, Duck
            thank you. I downloaded the sources, and it looks like, that the designer-plugin which is used by QT Creator comes directly from the qt version. So you are right.
            I tried to create the Creator in VS2010 and converted the .pro into a QtAddin project, but there must be bugs, because I cannot create it. First problem is precompiled headers.
            And I'm not sure, what I really need, when I create it with qmake, I do not want to use the git, I downloaded the zip of 2.4.0.rc and unpacked it into a subdirectory. Do I need perl, when I do not use git ?
            Regards,
            Peter

            SOLVED: Please forget all my questions, qmake && jom did the job. As my english is not so good, I didn't understand the "Readme" in full.....

            Regards,
            Peter

            Regards,
            Peter
            AZE GmbH Erlangen

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              No Problem, you're welcome.
              For further questions, you may ask in the "German forum":/forums/viewforum/30/ in native language.

              http://www.catb.org/~esr/faqs/smart-questions.html

              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