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: Where's the Resource Browser?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator: Where's the Resource Browser?

Scheduled Pinned Locked Moved Qt Creator and other tools
20 Posts 7 Posters 48.1k 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.
  • H Offline
    H Offline
    HamikSu
    wrote on last edited by
    #10

    DemonGeek,

    Have you manage to insert a resource file? I understand your question completely because I was like you, reading from the same tutorial that gave me the impression that a resource browser tool existed within the Qt Creator.

    This is what I do to include a resource file into my project
    From menu --> File --> New File or Project --> under Files and Classes panel, choose Qt --> On your ride window select "Qt resource file"

    1 Reply Last reply
    1
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #11

      Resources are managed in so called qrc files (Qt resource files). You cann add them the same way as as volker mentioned:

      To add a new UI form, hit Ctrl-N and select “Qt” from “Files and Classes” on the left and then “Qt Resource File” on the right side.

      It will appear under the folder Resources. Now you can double click the file and add resources directly. Is that what you were looking for?

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      1
      • D Offline
        D Offline
        demonGeek
        wrote on last edited by
        #12

        Hi Gerolf, thanks. I have done what you suggested but it doesn't get me this mysterious Resource Editor/Browser that I'm reading about in the docs. I can add resources into the qrc file just like you said and then select them in Qt Designer but that's not exactly what the docs are describing.

        I keep posting "this link":http://doc.trolltech.com/4.7/designer-resources.html - that's what I'm looking for. The docs clearly state that a Resource Browser/Editor exists in Qt Designer and that it allows resources to be added/edited on a per form basis.

        Am I misunderstanding what I'm reading in the docs? Do you see those Resource Editor/Browser dialogs in Qt Creator when using the forms designer?

        1 Reply Last reply
        0
        • ZlatomirZ Offline
          ZlatomirZ Offline
          Zlatomir
          wrote on last edited by
          #13

          This is Creator
          !http://i.imgur.com/a3NGW.jpg(Creator)!
          And this is Designer
          !http://i.imgur.com/mzFtf.jpg(Designer)!

          https://forum.qt.io/category/41/romanian

          1 Reply Last reply
          0
          • D Offline
            D Offline
            demonGeek
            wrote on last edited by
            #14

            OK, I can see this is going nowhere fast. Zlatomir: I fully understand that there are two separate products called Qt Creator and Qt Designer but thanks for the screenshots anyway.

            I am talking about the Qt Designer that is embedded in Qt Creator, look at this screenshot, the relevant text is highlighted:

            http://imgur.com/jJdc2

            And this is what the embedded Qt Designer in Qt Creator looks like:

            http://imgur.com/rncJq

            And when I look through the Help docs supplied with Qt Creator I see this:

            http://imgur.com/M19vT

            At this point I'm just going to give up and assume that the embedded Qt Designer in Qt Creator contains a subset of the standalone Qt Designer functionality and that the docs are incorrect.

            Thanks to everyone who tried to help.

            1 Reply Last reply
            0
            • ZlatomirZ Offline
              ZlatomirZ Offline
              Zlatomir
              wrote on last edited by
              #15

              In the documentation for "Qt Creator":http://doc.qt.nokia.com/qtcreator-2.0.1/creator-design-mode.html the embedded designer doesn't have Resource Editor

              Only the "separated" designer has it.

              LE: you can only select resources like pixmap, etc... but the Resource editor is only in Creator (isn't "duplicated" in embedded designer too)

              https://forum.qt.io/category/41/romanian

              1 Reply Last reply
              0
              • D Offline
                D Offline
                demonGeek
                wrote on last edited by
                #16

                That's the same documentation that I found the references to the Resource Editor in (when I hit F1 in Qt Creator) - it seems that the docs refer to the standalone product and not the embedded version. I wish they actually stated that, it would have saved me wasting a lot of time.

                Thanks for your help Zlatomir.

                1 Reply Last reply
                0
                • ZlatomirZ Offline
                  ZlatomirZ Offline
                  Zlatomir
                  wrote on last edited by
                  #17

                  It depends on how you navigate in the documentation

                  Start "here":http://doc.qt.nokia.com/ click on Creator version you use
                  then Developing Application UI and you have the Designer embedded in Creator
                  see link: http://doc.qt.nokia.com/qtcreator-2.0.1/creator-design-mode.html

                  In case you are outside of documentation for Creator they talk about stand-alone Designer.
                  see link: http://doc.qt.nokia.com/4.7/designer-manual.html

                  https://forum.qt.io/category/41/romanian

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    demonGeek
                    wrote on last edited by
                    #18

                    Well I guess that might be true but just to illustrate what I mean: go to that link you provided "http://doc.qt.nokia.com/qtcreator-2.0.1/creator-design-mode.html":http://doc.qt.nokia.com/qtcreator-2.0.1/creator-design-mode.html, scroll down to the bottom of the page and you'll find the following link right there:

                    bq. For more information on Qt Designer, see "Qt Designer Manual":http://doc.qt.nokia.com/4.7-snapshot/designer-manual.html.

                    Which takes you to the standalone Qt Designer documentation that includes the details about the resource editor.

                    And that's exactly what I did in the first place and is the reason for all this confusion. The docs are not at all clear - unless you already know what you're doing of course.

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

                      The documentation is indeed misleading. You could file an issue in the "bug tracker":http://bugreports.qt.nokia.com (possibly in the Qt Creator project), so the people in charge of the docs can fix it.

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

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        feathersanddown
                        wrote on last edited by
                        #20

                        What the hell! Same problem here, why are they separated?? If I run Qt Designer stand alone I have the Resource Browser window, but inside Qt Creator not. Is very annoying and I think that demonGeek have an essential question: why are separated?

                        It could be very useful have same functionality inside Qt Creator. Why is missing?

                        Thanks in advance

                        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