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

error: 'QSharedMemory' does not name a type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.8.5
    • None
    • Ubuntu 12.04
      Code Sourcery ARM GNU Linux cross compiler
      qt-everywhere-opensource-src-4.8.5 for embedded

    Description

      When I had tried to do "make" on embedded QT for arm architecture I have received an error:

      make[3]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/graphicsview/portedasteroids'
      make[2]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/graphicsview'
      cd ipc/ && make -f Makefile
      make[2]: Entering directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc'
      cd sharedmemory/ && make -f Makefile
      make[3]: Entering directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc/sharedmemory'
      /home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/bin/qmake -spec ../../../mkspecs/qws/linux-arm-g++ -o Makefile sharedmemory.pro
      make[3]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc/sharedmemory'
      make[3]: Entering directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc/sharedmemory'
      /home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/bin/uic dialog.ui -o .uic/release-shared-emb-arm/ui_dialog.h
      arm-linux-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../include/QtCore -I../../../include/QtNetwork -I../../../include/QtGui -I../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/main.o main.cpp
      In file included from main.cpp:42:0:
      dialog.h:65:5: error: 'QSharedMemory' does not name a type
      QSharedMemory sharedMemory;
      ^
      make[3]: *** [.obj/release-shared-emb-arm/main.o] Error 1
      make[3]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc/sharedmemory'
      make[2]: *** [sub-sharedmemory-make_default] Error 2
      make[2]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples/ipc'
      make[1]: *** [sub-ipc-make_default] Error 2
      make[1]: Leaving directory `/home/kolumb/QT/embedded/qt-everywhere-opensource-src-4.8.5/examples'
      make: *** [sub-examples-make_default-ordered] Error 2

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            kolumb Kamil
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes