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.5k 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.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #54

    /me is thinking that instead of building a tree like that himself, he would use a QFileSystemModel instead...

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

      thanks a lot...I will try with QFileSystemModel too..

      Never Ever Give Up

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

        "The program can't start because mingwm10.dll is missing from your computer.Try reinstalling the program to fix this problem."

        ..i am getting this error when i tried running my application in stand alone mode...any help ??

        Never Ever Give Up

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

          YOu are startin g without QtCreator, right?

          Did you try to search the forum for answers?

          see this "post":http://developer.qt.nokia.com/forums/viewthread/4869

          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
            #58

            yes Gerolf..I searched..everybody says that we need to set the invironment varioables..I did that too but of no use..

            Never Ever Give Up

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

              put the needed dlls beside your exe or set the PATH environment variable to contain the path to mingw10.dll.

              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
                #60

                I have set the PATH environment variable..but it says QtCode4.dll is missing !!

                Never Ever Give Up

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

                  QtCode4? what's this? or do you mean QtCore4.dll?
                  Then the path to this dll is miossinmg :-)
                  You have to add it also.

                  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
                    #62

                    sorry..that was typo..QtCore4.dll is correct..but where will this DLL reside ?

                    Never Ever Give Up

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

                      you find it inside your Qt installation
                      depends which version you installed
                      In Qt SDK with Qt 4.7.2, look here:

                      <QtSDK Dir>\Desktop\Qt\4.7.2\mingw\bin

                      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
                        #64

                        excellent Gerolf..it is working now..but my icons on buttons and Toolbar are missing in standalone application..

                        Never Ever Give Up

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

                          How did you add them?
                          using from the file system or add them to a qrc file?

                          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
                          • G Offline
                            G Offline
                            goetz
                            wrote on last edited by
                            #66

                            [quote author="Thomas Kennedy" date="1301650049"]excellent Gerolf..it is working now..but my icons on buttons and Toolbar are missing in standalone application..[/quote]

                            Could be some missing image format plugins. Please look in the forum search for "imageformats plugins", it was discussed recently with some hints about how to resolve this issue.

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

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

                              yep...now I understood how to create .qrc file..many thanks..

                              Never Ever Give Up

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

                                i have 7 strings with me..I would like to show them in a text editor line by line...how would i do that ??

                                Never Ever Give Up

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

                                  I have used Insert() method to do that..thanks for no reply :-)

                                  Never Ever Give Up

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

                                    now I am showing all my available drives in my Tree widget and upon selection am able to display the total/free size of the drive. Now I want to implement two things..

                                    1.load icons depending upon the drive type in my tree widget
                                    2.if it is CD-ROM drive disable the user section

                                    could somebody guide me on this !!!

                                    Never Ever Give Up

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

                                      Again (mentioned this before, I believe), take a look at QFileSystemModel. It does this for you already. If you don't use it yourself, then you might study its source code to find out where it gets the images from. Or, look into QFileIconProvider.

                                      If you are using QSystemStorageInfo as your data source, then you also know which drives are a CDRom drives. Set the correct flags for those drives, and presto.

                                      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