Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] Examples button disabled in Welcome page
QtWS25 Last Chance

[Solved] Examples button disabled in Welcome page

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 4 Posters 4.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.
  • P Offline
    P Offline
    puyopuy
    wrote on last edited by
    #1

    Hi guys,

    I just download Qt Creator 2.1 Binary for Windows (46 MB) from download page. After installation finished and when I try to open it first time, the button next to Explore Qt C++ examples was disabled. I just want to know how to install examples. Am I suppose to download other package? I'm using Windows 7 64 bit edition.

    Thank you very much in advance.
    puyo

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

      Yes. The creator package only installs QtCreator. If you want the whole shabang, get yourself a copy of the SDK. I would recommend you try out the 1.1 beta version. It will get you Qt itself, the samples, and all of the tools (including Qt Creator).

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stukdev
        wrote on last edited by
        #3

        I see the Qt 4.7.2 lib have the Qt Example and demo :)

        [quote author="Andre" date="1301320553"]Yes. The creator package only installs QtCreator. If you want the whole shabang, get yourself a copy of the SDK. I would recommend you try out the 1.1 beta version. It will get you Qt itself, the samples, and all of the tools (including Qt Creator). [/quote]

        1 Reply Last reply
        0
        • P Offline
          P Offline
          puyopuy
          wrote on last edited by
          #4

          Thanks Andre, after I reinstall the SDK and I can see the samples now. But it doesn't make any sense not to include samples in Qt Creator installer.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            It makes perfect sense, IMHO. The Qt Creator installer is a tool. The Qt examples belong to the Qt library itself. They don't belong with Creator; you would not even be able to build them when you just install Creator.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              puyopuy
              wrote on last edited by
              #6

              Maybe I don't understand Qt Creator/Qt library structure. From my view, Qt Creator is tool that same as MS VS, we can use the tool to create a "Hello world" application. What I'm looking for just examples how to create this kind of application. I'm not sure is that the same situation. I installed VS and look for samples but I need to install .net framework because samples are come from .net framework not from VS, without .net framework you won't able to build "Hello world" application.

              Btw, this is just my through. Thank you very much for your help, i much appreciated.

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

                The point is, QtCreator is an IDE, Qt itself is the Framework.

                With QtCreator, you can use different Qt version side by side. And you also need the tool chain (mingw, MS C++ tool chain, ...).

                The examples are packed with the Qt libraries and headers.

                So the minimum requirement to work with examples and create an appis:

                • QtCreator or some other IDE
                • the needed tool chain
                • one Qt version for this tool chain

                The combination can be installed by installing the Qt SDK (which contains all 3).

                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
                0
                • P Offline
                  P Offline
                  puyopuy
                  wrote on last edited by
                  #8

                  Observingly I don't know much about Qt Creator / Qt library. Just wonder if I download Qt Creator does it come with any Qt library? If not, is that mean we can use it to create any kind of "Hello world" application?

                  Thank you very much for all of you spent time to explain to me, I really appreciated that.

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

                    You can create any kind of C++ application. Also MFC if you want. You just need the dlls and the headers. For MFC, the wizard support is not there, as it is not a use case for Creator, but it's possible. The libraries in the Creator directory are needed by Creator itself.

                    Having QtCreator and a Toolchain (e.g. mingw) you can create binaries ()e.g hello world, or also a web server or some other stuff).

                    If you want to use Qt itself, you need the headers and the libs. And it doesn't matter if you use QtCreator or MSVS to manage the sources and build the project.

                    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
                    0
                    • P Offline
                      P Offline
                      puyopuy
                      wrote on last edited by
                      #10

                      Please forgive me first if my questions are look stupid to you :)

                      If we can use Qt Creator to create C++ application, how come in Getting Started(Welcome) page, the button next to Explore Qt C++ examples is disable? Are we suppose to run these examples without installing Qt libraries?

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        andre
                        wrote on last edited by
                        #11

                        While Qt creator can in principle be used on its own as a code editor, it can not be used on its own to build complete programs, let alone complete Qt programs. You need a tool chain (compiler, linker, etc.) and you need need libraries to link against (like Qt). Neither are provided with a standalone distribution of Qt Creator. That standalone package is meant for people who already have all the rest, and simply want (a newer version of) Qt Creator.

                        Qt Creator does come with the Qt libs, but only in a binary form that is of little use to you (a set of .dll files compiled with some MS compiler which you don't know and without header files). If you want libs that you can use to build your own program, you need the full package.

                        Bottomline: just get yourself the full SDK, and save yourself the headache of what you do and what you don't need to get started.

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

                          bq. Bottomline: just get yourself the full SDK, and save yourself the headache of what you do and what you don’t need to get started.

                          If you are on windows, use the online installer. It saves download time as it only downloads, what you need. For example, I don't want to have all these mobile packages, but I want Qt src --> very easy :-) Ond less download.

                          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
                          0
                          • P Offline
                            P Offline
                            puyopuy
                            wrote on last edited by
                            #13

                            Thanks guys, no more question ask, everything is clear now :) thank you for your patience.

                            cheers

                            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