Details
-
Suggestion
-
Resolution: Invalid
-
P4: Low
-
None
-
None
-
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.