Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt on iOS

Qt on iOS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 2.0k Views 3 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.
  • V Offline
    V Offline
    VeNToR
    wrote on last edited by
    #1

    How do I use Qt Libraries as dynamic for iOS ? What is definations in *.pro file ?

    A 1 Reply Last reply
    0
    • V VeNToR

      How do I use Qt Libraries as dynamic for iOS ? What is definations in *.pro file ?

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @VeNToR Can we see your pro file? It's all in how you built Qt. It should link dynamically by default unless you specifically linked statically.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      V 1 Reply Last reply
      0
      • A ambershark

        @VeNToR Can we see your pro file? It's all in how you built Qt. It should link dynamically by default unless you specifically linked statically.

        V Offline
        V Offline
        VeNToR
        wrote on last edited by
        #3

        @ambershark cache()

        TEMPLATE = app

        CONFIG += debug_and_release

        QT += core gui multimedia script widgets xmlpatterns sql concurrent

        	ios {
        		CONFIG			-= bitcode
        
        		DESTDIR			=	/tmp/Projects/IOS/Debug
        		MOC_DIR			=	./GeneratedFiles/IOS/Debug
        		OBJECTS_DIR		=	/tmp/Projects/IOS/Debug/Intermediate/ChQuPhone
        		RCC_DIR			=	./GeneratedFiles/IOS
        		UI_DIR			=	./GeneratedFiles/IOS
        
        		#CONFIG			-= headerpad_max_install_names
        
        		FORMS			=	./Resources/ChForms/ChQuPhone.ui
        
        		QMAKE_LFLAGS	+=	-stdlib=libc++ 
        
        		#QMAKE_LFLAGS	+=	#-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks \
        		#QMAKE_LFLAGS	+=	-F/Projects/PortSIP/IOS
        		QMAKE_IOS_DEPLOYMENT_TARGET	= 10.2
        						
        		LIBS			+=	$$DESTDIR/libChFCd.a \
        							$$DESTDIR/libChPhoned.a \
        							$$DESTDIR/libChRSMd.a \
        							$$DESTDIR/libChQuGUIFCd.a \
        							$$DESTDIR/libChRSMSecurityd.a \
        							$$DESTDIR/libChRSMSessiond.a \
        							$$DESTDIR/libChScriptd.a \
        							\
        							$$DESTDIR/libChQuGUIScriptPlugind.a \
        							$$DESTDIR/libChRSMGUIFCd.a \
        							$$DESTDIR/libChQuScriptManagerd.a
        

        }

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VeNToR
          wrote on last edited by VeNToR
          #4

          I think, Qt should re-compile as shared library or framework for iOS.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            @ambershark The iOS Qt build is/was static.

            Up until recently that was not an option since the App Store rules expressly forbad dynamic libraries within an application. The rules have change and IIRC, if not 5.8 then 5.9 is built as shared frameworks.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            V A 2 Replies Last reply
            4
            • SGaistS SGaist

              Hi,

              @ambershark The iOS Qt build is/was static.

              Up until recently that was not an option since the App Store rules expressly forbad dynamic libraries within an application. The rules have change and IIRC, if not 5.8 then 5.9 is built as shared frameworks.

              V Offline
              V Offline
              VeNToR
              wrote on last edited by
              #6

              @SGaist We should wait :)

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                @ambershark The iOS Qt build is/was static.

                Up until recently that was not an option since the App Store rules expressly forbad dynamic libraries within an application. The rules have change and IIRC, if not 5.8 then 5.9 is built as shared frameworks.

                A Offline
                A Offline
                ambershark
                wrote on last edited by
                #7

                @SGaist said in Qt on iOS:

                Hi,

                @ambershark The iOS Qt build is/was static.

                Up until recently that was not an option since the App Store rules expressly forbad dynamic libraries within an application. The rules have change and IIRC, if not 5.8 then 5.9 is built as shared frameworks.

                Oops, I totally forgot about this. I'm so used to doing desktop stuff I completely forgot about the iOS static library thing. Glad you caught it before I wasted time trying to figure that out, lol. :)

                My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                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