[Interest] Macro to identify desktop(Ubuntu-X86) and embedded Linux(ARM)

Christian Gagneraud chgans at gmail.com
Sat Sep 8 14:22:44 CEST 2018


On Sat, 8 Sep 2018 at 18:35, Ramakanth Kesireddy <rama.kesi at gmail.com> wrote:
>
> Hi,
>
> Is there any macro to identify desktop(Ubuntu x-86) and embedded Linux(ARM) in Qt 4.8 or 5.x?
https://doc.qt.io/qt-5/qtglobal.html#Q_PROCESSOR_X86
https://doc.qt.io/qt-5/qtglobal.html#Q_PROCESSOR_ARM
https://doc.qt.io/qt-5/qtglobal.html#Q_OS_LINUX

And dig though qglobal.h for gotchas:
https://github.com/qt/qtbase/blob/5.11/src/corelib/global/qglobal.h

>
> Thanks and Regards,
> Ramakanth
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list