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. Installation and getting started with first app
QtWS25 Last Chance

Installation and getting started with first app

Scheduled Pinned Locked Moved Installation and Deployment
71 Posts 6 Posters 36.6k 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.
  • G Offline
    G Offline
    giesbert
    wrote on last edited by
    #6

    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
    0
    • K Offline
      K Offline
      KennedyDayala
      wrote on last edited by
      #7

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

        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
        0
        • K Offline
          K Offline
          KennedyDayala
          wrote on last edited by
          #9

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

            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
            0
            • K Offline
              K Offline
              KennedyDayala
              wrote on last edited by
              #11

              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
              0
              • G Offline
                G Offline
                giesbert
                wrote on last edited by
                #12

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

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

                  Never Ever Give Up

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    KennedyDayala
                    wrote on last edited by
                    #14

                    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
                    0
                    • G Offline
                      G Offline
                      giesbert
                      wrote on last edited by
                      #15

                      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
                      0
                      • V Offline
                        V Offline
                        vinb
                        wrote on last edited by
                        #16

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

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          KennedyDayala
                          wrote on last edited by
                          #17

                          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
                          0
                          • A Offline
                            A Offline
                            andre
                            wrote on last edited by
                            #18

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

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              KennedyDayala
                              wrote on last edited by
                              #19

                              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
                              0
                              • A Offline
                                A Offline
                                andre
                                wrote on last edited by
                                #20

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

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  KennedyDayala
                                  wrote on last edited by
                                  #21

                                  I agree..but it happened while i tried to install Qt on Linux...help is appreciated more

                                  Never Ever Give Up

                                  1 Reply Last reply
                                  0
                                  • V Offline
                                    V Offline
                                    vinb
                                    wrote on last edited by
                                    #22

                                    http://wiki.centos.org/HowTos#head-70ff04f00f6b441f231663b09d7716f4f771a436

                                    1 Reply Last reply
                                    0
                                    • K Offline
                                      K Offline
                                      KennedyDayala
                                      wrote on last edited by
                                      #23

                                      thanks amn..I will go through that link now..

                                      btw I have this compiler error when I compiled my demo app on windows using QTreeView which I am planning to display the SystemStorage info

                                      In file included from ..\IDT_Demo_UI\main.cpp:2:
                                      ..\IDT_Demo_UI/idt_mainwindow.h:23: error: ISO C++ forbids declaration of 'QSystemStorageInfo' with no type
                                      ..\IDT_Demo_UI/idt_mainwindow.h:23: error: expected ';' before '*' token

                                      Never Ever Give Up

                                      1 Reply Last reply
                                      0
                                      • V Offline
                                        V Offline
                                        vinb
                                        wrote on last edited by
                                        #24

                                        its say were you have to look!
                                        ĺine 23 of the file idt_mainwindow.h, you didnt end the line with ; or/and you didnt include QSystemStorageInfo

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

                                          Or you only declared the type like
                                          @
                                          class QSystemStorageInfo;
                                          @
                                          and use it as member. This is not allowed. If you use it for pointers, declaration like above should work.

                                          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

                                          • Login

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