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_ARCH_ARM
Forum Updated to NodeBB v4.3 + New Features

QT_ARCH_ARM

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

    Hi

    I'm trying to compile my app under a raspberry pi board using latest qt 4.8.6 and 5.3.0... so far everythings works fine and I have just an error due to a qreal pointer when linking to an external library... the question is: can I trust on Q_ARCH_ARM in order to change some code at compile time ?

    if I'm not wrong, Q_ARCH_ARM is defined on ARM but undocumented...

        best regards
    
                 Giampaolo
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I would say no, I can't even find that define however, you can use

      @#ifdef arm@

      or in Qt 5 there's seem to be Q_PROCESSOR_ARM

      Hope it helps

      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
      0
      • I Offline
        I Offline
        iw2lsi
        wrote on last edited by
        #3

        Hi

        thanks for your help...

        sorry... it's QT_ARCH_ARM and not Q_ARCH_ARM...

        in qt4 it is checked in src/corelib/global/qglobal.h...

        ...
        #elif defined(QT_NO_FPU) || defined(QT_ARCH_ARM) || defined(QT_ARCH_WINDOWSCE) || defined(QT_ARCH_SYMBIAN)
        ...

        but you are right, it seems never defined...

        Giampaolo

        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