Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Cross-Compling QT

    General and Desktop
    cross compile qt5
    2
    4
    622
    Loading More Posts
    • 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.
    • Lays147
      Lays147 last edited by

      What kind a mkspecs i need to add to my ./configure to compile my app to run on debian/ubuntu/fedora/redhat/opensuse platforms?
      Because the files on qtbase/mkspecs are confusing to me.
      Thanks!

      Lays Rodrigues
      Newby on Qt - Learning always!
      Using QT 5.7
      ArchLinux

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        These are all Linux flavors so you don't have to create a new mkspec. linux-g++ is what you need.

        The mkspecs are for platforms e.g. OS X, iOS, Linux, Android, or devices e.g. RaspberryPi etc.

        How do you plan to distribute your software ? Using the package manager of each distribution ? Or your own binary ?

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

        Lays147 1 Reply Last reply Reply Quote 0
        • Lays147
          Lays147 @SGaist last edited by

          @SGaist Im building my app static. Shared libraries is not my thing.
          Att

          Lays Rodrigues
          Newby on Qt - Learning always!
          Using QT 5.7
          ArchLinux

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Don't forget the licensing implication that comes with static linking.

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post