Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross Platform Client Server application
Forum Updated to NodeBB v4.3 + New Features

Cross Platform Client Server application

Scheduled Pinned Locked Moved General and Desktop
24 Posts 4 Posters 9.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.
  • K Offline
    K Offline
    kashifiqb
    wrote on last edited by
    #14

    Ok, i have installed the mac framework libraries and installed Qt Creator as well.. Now when i try to build the localfortuneserver example, it says "Could not find the Make command to build the project"..

    Can anybody help me with that?

    Kashif

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

      Did you install XCode?

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kashifiqb
        wrote on last edited by
        #16

        Well i am using Mac in VMWare for the first time and don't know.. Can you guide on how to check if it is installed or not? and how to install it?

        Kashif

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

          Then it's probably not installed. Go and download it from Apple's "XCode page":http://developer.apple.com/xcode/

          Go with XCode 3 - the link is at the bottom of the right column. You will need to setup an Apple ID. More info on Qt's "Developing Qt Applications for Mac OS X":http://doc.qt.nokia.com/4.7/developing-on-mac.html. I don't know if XCode 4 is yet supported, but I suppose not.

          BTW: It's not allowed to run Mac OS X Desktop version in a virtual machine.

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

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kashifiqb
            wrote on last edited by
            #18

            Volker, it is my first time when I am using Mac..and I dont have Mac with me, thats y i am using VM ware.. Can you tell me why are referring xCode 3? any specific reason? I am reading the article QT programming for Mac..

            Kashif

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

              (1) On windows, i downloaded the framework and tried to install and it said that it cant find mingw.. and directed me towards SDLK installation. I installed the SDK, now i can build QT examples, and the .exe is generated in the respective folder. But when I double click this exe to run, it says "The applicaiton has failed to start because mingwm10.dll was not found. Re-installing the application may fix this problem".. Any help?

              (2) Also, after (1) is fixed, if i take this exe to some other system, where QT framework or SDK is not installed, will it work or not?

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

                Regarding 2: You must deliver all the needed libs, including MinGW DLLs. Please refer to the deployment pages linked earlier in this thread.

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

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

                  This is somewhat surprising me.. On windows, when i develop applications using Visual C++ (no Qt involved), I simple build the whole project as using in a static library, and as a result, I just deploy the single Exe of my applicaiton; no dll, no lib attached.. I wonder how it is not possible in Qt?

                  Kahsif

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

                    Static linking is not always the best solution. In fact, it is not supported for Qt Webkit module, so this might not work correctly in that case. And you might have problems with Qt plugins too.

                    Also, you have to keep in mind the licensing issues (please search the forums, it was discussed recently). The base line is that static linking against Qt most probably forces you to release the source code of your app under GPL (but I'm not a lawyer!).

                    On the mac, one can put all the libraries into the application bundle and that's it. The bundle appears like a single file to the user, there's hardly any installer needed (and in fact Mac users do not like them).

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

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

                      Volker thank you so much for such an informative reply.. Just one more favour.. how do i know which libraries will be needed?

                      One more thing: if i bundle the libraries into the application bundle, will the application work if Qt is not installed on Mac?

                      Kashif

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

                        If you put the framework bundles into the app bundle, then it runs on a Qt-less mac box too.

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

                        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