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. Building qt static on mac
QtWS25 Last Chance

Building qt static on mac

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.3k 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.
  • K Offline
    K Offline
    kitten
    wrote on last edited by
    #1

    hi to every one
    i donwload qt open source every where to compile it staticly from source and i use a page on documentation name
    deploying and application on mac os x
    and it works fine and it creates all .a lib i need except it does'nt create libqtwebkit.a and so my program does'nt compile and it break in half of it, what should i do?
    should i do anything more?
    thanks alot for your answers

    www.kitten.mihanblog.com

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      Correct me if I am wrong, but I think you are not allowed to use static linkage unless you own a commercial Qt license, right?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kitten
        wrote on last edited by
        #3

        i don't know , but i think it does'nt have any differences. and it creates all libs except libqtwebkit.a

        www.kitten.mihanblog.com

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #4

          Check "this":http://www.youtube.com/watch?v=chMNUzpN4pw out, but keep in mind, this is ONLY for educational purposes.

          Currently Qt has three licensing schemes, GPL, LGPL and commercial. GPL is about open source stuff, LGPL allows closed source proprietary applications with dynamic linkage, and only the commercial license allows you to include Qt code in your executable.

          If you are just toying, I guess it is OK, but if you plan on selling a product that uses static linkage to Qt you might get in legal troubles.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kitten
            wrote on last edited by
            #5

            i can't open yourube.com because it is filtered in my country;
            but i think we can use open source edition with static lib because it compiles other libs.
            what should i do?

            www.kitten.mihanblog.com

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

              Static build of webkit in Qt is not supported. This is why you don't have any webkit lib in your static build. If you need webkit, you must use shared libs of Qt.

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

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kitten
                wrote on last edited by
                #7

                Can i use other libs staticly?and then i use webkit shared library

                www.kitten.mihanblog.com

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

                  No, you cannot use static Qt libs together with shared webkit libs.

                  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