Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33586

mkspec file for "Generic Linux Device" could be useful

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • P4: Low
    • None
    • None
    • Build System
    • None

    Description

      In order to ease cross-compiling of qt for a generic linux system, I think there should be "Generic" device directory under mkspecs/devices/. qmake.conf for this device will consist of just three lines:

      include(../common/linux_device_pre.conf)
      include(../common/linux_device_post.conf)
      load(qt_config)
      

      That's enough for reasonable defaults. Users could use:

       ./configure -device linux-generic-g++ -device-option CROSS_COMPILE=... ... -device-option QMAKE_CFLAGS="..." ...
      

      This will also help packaging in projects like buildroot which supports different toolchains, target devices, etc.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            fatih Fatih Aşıcı
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes