Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Creator Form Templates oddness
QtWS25 Last Chance

[Solved] Creator Form Templates oddness

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 1.8k 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.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 23 Aug 2015, 20:48 last edited by mrjj
    #1

    Hi
    Trying to add my own "Form Template" to the New Dialog.
    http://postimg.org/image/psd3st609/

    Those listed in that dialog are located in
    ..\Tools\QtCreator\share\qtcreator\designer\templates

    So I try to add my own and it was never listed.

    Then i DELETED the whole "designer" folder and it can STILL
    show the same templates which should be impossible.?!
    The files are not anywhere else to be found.

    So are they compiled in or what is going on?

    Thank you

    J 1 Reply Last reply 23 Aug 2015, 22:59
    0
    • M mrjj
      23 Aug 2015, 20:48

      Hi
      Trying to add my own "Form Template" to the New Dialog.
      http://postimg.org/image/psd3st609/

      Those listed in that dialog are located in
      ..\Tools\QtCreator\share\qtcreator\designer\templates

      So I try to add my own and it was never listed.

      Then i DELETED the whole "designer" folder and it can STILL
      show the same templates which should be impossible.?!
      The files are not anywhere else to be found.

      So are they compiled in or what is going on?

      Thank you

      J Offline
      J Offline
      JKSH
      Moderators
      wrote on 23 Aug 2015, 22:59 last edited by
      #2

      Hi,

      I haven't used custom templates before, but try looking for clues in your %APPDATA% folders (e.g. C:\Users\mrjj\AppData\Roaming\QtProject)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      M 1 Reply Last reply 24 Aug 2015, 07:25
      0
      • J JKSH
        23 Aug 2015, 22:59

        Hi,

        I haven't used custom templates before, but try looking for clues in your %APPDATA% folders (e.g. C:\Users\mrjj\AppData\Roaming\QtProject)

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 24 Aug 2015, 07:25 last edited by
        #3

        @JKSH
        Hi
        Can you give a hint to the clues? ;)
        I grep´ed that folder to oblivion for any names from the Form Templates and
        seems to be nothing.
        I also tried a tool to display which files a process opens.
        Qt Creator does not seem to open any files from
        \share\qtcreator\designer
        So something fishy is going on :)

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JKSH
          Moderators
          wrote on 24 Aug 2015, 10:15 last edited by
          #4

          Sorry @mrjj, I don't know the answer to this problem; I just suggested looking in that folder because I know Qt Creator stores settings there.

          If you don't get any help here, try asking a Qt engineer at the Interest mailing list. You'll need to subscribe first.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          M 1 Reply Last reply 24 Aug 2015, 10:38
          0
          • J JKSH
            24 Aug 2015, 10:15

            Sorry @mrjj, I don't know the answer to this problem; I just suggested looking in that folder because I know Qt Creator stores settings there.

            If you don't get any help here, try asking a Qt engineer at the Interest mailing list. You'll need to subscribe first.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Aug 2015, 10:38 last edited by
            #5

            @JKSH
            Damn :) I had hoped as even not the Google knows about those files.
            Seems not to be those templates there.

            I have asked on qt-creator@qt-project.org

            I really need to use custom templates so I hope its not one of those issues that never got fixed.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JKSH
              Moderators
              wrote on 24 Aug 2015, 10:39 last edited by
              #6

              Good luck! Please update this thread if you find a solution, in case others are facing it too

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              M 1 Reply Last reply 24 Aug 2015, 10:42
              0
              • J JKSH
                24 Aug 2015, 10:39

                Good luck! Please update this thread if you find a solution, in case others are facing it too

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 24 Aug 2015, 10:42 last edited by
                #7

                @JKSH
                Thank you. I will update as soon as I find the truth.
                Grep´ing whole Qt source did not show any ref to the Templates.xml file so I wonder.

                M 1 Reply Last reply 24 Aug 2015, 20:40
                0
                • M mrjj
                  24 Aug 2015, 10:42

                  @JKSH
                  Thank you. I will update as soon as I find the truth.
                  Grep´ing whole Qt source did not show any ref to the Templates.xml file so I wonder.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 24 Aug 2015, 20:40 last edited by
                  #8

                  @mrjj

                  Got answer from mailing list

                  --
                  I have been reworking quite a few of our wizards since Qt Creator 3.4, so I guess I killed the wizard that actually used those templates but forgot to remove the templates themselves. I'll fix that.
                  Tobias Hunger, Senior Software Engineer | The Qt Company

                  1 Reply Last reply
                  0

                  6/8

                  24 Aug 2015, 10:39

                  • Login

                  • Login or register to search.
                  6 out of 8
                  • First post
                    6/8
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved