Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Installation and getting started with first app

    Installation and Deployment
    6
    71
    27467
    Loading More Posts
    • 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.
    • K
      KennedyDayala last edited by

      Hello team,

      I am newbie to the QT...i am very much impressed with the features of this.can somebody help me in getting all the required tools, IDE and compilers and their installation and set up processes one by one ?

      quick help will be really appreciated as I gotta start developing in the next week.

      Many many thanks in advance.

      -Bose

      Never Ever Give Up

      1 Reply Last reply Reply Quote 0
      • G
        giesbert last edited by

        Hi,

        as a start, download the SDK (I suggest Qt SDK 1.1 Beta) from "this site":http://qt.nokia.com/downloads . Depending on the platform, choose the installer (for windows I use online installer, as I then only get what I really need, e.g. no meamo, meego, symbian).

        Then start reading QtCreator docs, it's part of the SDK, or read it "online":http://doc.qt.nokia.com/qtcreator-2.1/index.html

        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 Reply Quote 0
        • A
          andre last edited by

          For "getting started":http://doc.qt.nokia.com/4.7/how-to-learn-qt.html, the Qt documentation contains some fine "tutorials":http://doc.qt.nokia.com/4.7/tutorials.html as well.

          1 Reply Last reply Reply Quote 0
          • K
            KennedyDayala last edited by

            thatz really great...what a quick response...I have just started downloading those files you suggested..thanks a million

            -Bose

            Never Ever Give Up

            1 Reply Last reply Reply Quote 0
            • K
              KennedyDayala last edited by

              Hello Gerolf/Andre,

              Thomas again !!

              I have installed QT SDK 1.1 Beta yesterday without any problems and tried executing examples to understand the code flow and successfully executed on my Windows 7 professional desktop. I am really impressed with the simple coding style QT followed.

              Now my question is how can I run the same executable( say for example "Extension example from Dialogs") on Linux OS ?

              could you please explain me step by step now ?

              Thanks in advance.

              -Thomas

              Never Ever Give Up

              1 Reply Last reply Reply Quote 0
              • G
                giesbert last edited by

                You install the SDK for linux and build the executables there. Same procedure....

                Or you get a creoss compile environment, install it on windows, build for linux and copy, but I think, native building will be easier.

                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 Reply Quote 0
                • K
                  KennedyDayala last edited by

                  where can i get a cross compiler for QT and how can i make it for Linux? please help !!

                  Never Ever Give Up

                  1 Reply Last reply Reply Quote 0
                  • G
                    giesbert last edited by

                    I never cross compiled from windows to linux.
                    Did you ask google?

                    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 Reply Quote 0
                    • K
                      KennedyDayala last edited by

                      If the customer is aiming at application which can be installed and executed on both Windows and Linux, how would we do that using our QT ?

                      can you please guide me in a detailed manner Gerolf ??

                      Never Ever Give Up

                      1 Reply Last reply Reply Quote 0
                      • G
                        giesbert last edited by

                        I would build natively on windows and natively on linux. Especially as Linux != Linux (distribution).
                        Use a seperate machine, virtual machines whatever and build on both.

                        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 Reply Quote 0
                        • K
                          KennedyDayala last edited by

                          lemme know if my understandings are correct…

                          • develop the application on one OS using QT (windows or Linux).
                          • Get the .exe file in Release mode on native OS (say Windows).
                          • Run the same code on the other desired OS (say Linux which can be the other OS of my Dual OS system and has the same SDK) and get the .exe in release mode.
                          • make an installable setup (write a script which can pick up the required ‘files and .exe’ by recognizing the OS during installation) which is installed and executed according to the customer specifications.
                          • make the customer satisfied :-)

                          …..i am right Gerolf ??

                          Never Ever Give Up

                          1 Reply Last reply Reply Quote 0
                          • G
                            giesbert last edited by

                            Yep, thats the way to go.
                            If you use a version control system or some shared drives, you could also switch during developement (which never is bad for testing if everything really works).

                            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 Reply Quote 0
                            • K
                              KennedyDayala last edited by

                              million thanks Gerolf..please be with me while learning the coding..

                              Never Ever Give Up

                              1 Reply Last reply Reply Quote 0
                              • K
                                KennedyDayala last edited by

                                Hello Gerolf,

                                got a problem again..

                                have downloaded the Qt SDK 1.1 Beta for Linux. Tried installing it and ended up with this error..

                                ./Qt_SDK_Lin64_offline_v1_1_beta_en.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./Qt_SDK_Lin64_offline_v1_1_beta_en.run) :-((

                                could you please help me in sorting this ?!

                                Never Ever Give Up

                                1 Reply Last reply Reply Quote 0
                                • G
                                  giesbert last edited by

                                  I don't use Linux, I always use windows, sorry.

                                  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 Reply Quote 0
                                  • V
                                    vinb last edited by

                                    try to install libstdc++.
                                    Question: which distro do you use? And do you have g++ installed already?

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      KennedyDayala last edited by

                                      thanks for the response man..i am totally new to Linux..could you please lemme know how to fetch those info you asked ??

                                      Never Ever Give Up

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        andre last edited by

                                        If you're on linux, you should already have that lib I'd say.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          KennedyDayala last edited by

                                          I have installed CentOS 5.5 yesterday and tried to install Qt..could you please gimme those commands to check if that lib is existing and its verson ??

                                          Never Ever Give Up

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            andre last edited by

                                            For linux help, you're on the wrong channel. Sorry. This is not Qt related anymore.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post