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-everywhere-4.7.4. compile issue with dbus
Forum Updated to NodeBB v4.3 + New Features

Qt-everywhere-4.7.4. compile issue with dbus

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.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.
  • H Offline
    H Offline
    henrikk
    wrote on 17 Oct 2013, 14:52 last edited by
    #1

    Hello,

    I try to set up qt-everywhere 4.7.4 for a ARM architecture with configure:
    ./configure -embedded arm
    -xplatform qws/linux-arm-gnueabi-g++
    -v
    -arch arm
    -continue
    -force-pkg-config
    -I /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include
    -little-endian
    -L /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/lib
    -dbus

    N.B. after the configure step I have to correct mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf to enter the correct tools (cpp, g++, ...).
    ./configure concludes successfully. But at the make step I get an error:

    arm-cortexa8-linux-gnueabi-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -I/home/oschma/BSP/BSP-Phytec-phyCARD-L-
    PD12.0.1/platform-phyCARD-L/sysroot-host/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -
    fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -D
    QT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER="/lib/ld-linux.so.2" -DHB_EXPORT=Q
    _CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -I../../i
    nclude -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdp
    arty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabst
    ractanimation.cpp
    animation/qabstractanimation_p.h: In constructor 'QUnifiedTimer::QUnifiedTimer()':
    animation/qabstractanimation_p.h:178:10: warning: 'QUnifiedTimer::insideTick' will be initialized after
    animation/qabstractanimation_p.h:177:9: warning: 'int QUnifiedTimer::currentAnimationIdx'
    animation/qabstractanimation.cpp:168:1: warning: when initialized here
    /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include/QtCore/qatomic_i386.h: In function 'Q
    ThreadStorage<QUnifiedTimer*>* unifiedTimer()':
    /home/oschma/BSP/BSP-Phytec-phyCARD-L-PD12.0.1/platform-phyCARD-L/sysroot-host/include/QtCore/qatomic_i386.h:176:29: error:
    impossible constraint in 'asm'
    make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 1
    make[1]: Leaving directory `/usr/local/Trolltech/qt-everywhere-opensource-src-4.7.4/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2
    root@VirtualLinux:.../qt-everywhere-opensource-src-4.7.4# exit

    What confuses me is why qatomic_i386.h is used as it should be qatomic_arm.h.

    Thanks in advance for your help

    Henrik

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 18 Oct 2013, 04:20 last edited by
      #2

      Correct the mkspecs before you run configure, not afterwards.

      (Z(:^

      1 Reply Last reply
      0

      1/2

      17 Oct 2013, 14:52

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved