Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 3.2.1 Embedded: Redefinition of ‘const QString& device’ Error
Forum Updated to NodeBB v4.3 + New Features

Qt 3.2.1 Embedded: Redefinition of ‘const QString& device’ Error

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.2k 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.
  • Y Offline
    Y Offline
    Yerzhan
    wrote on last edited by
    #1

    I have to compile and use the old version of QT, the qt3.2.1 for embedded systems, for linux.
    I have downloaded it and trying to compile, like it was written in the INSTALL file.
    The problem is now that it is giving the following errors:

    In file included from kernel/qwindowsystem_qws.cpp:39:0:
    ../include/qmouse_qws.h:72:104: error: redefinition of ‘const QString& device’
    ../include/qmouse_qws.h:72:65: error: ‘const QString& device’ previously declared here
    kernel/qwindowsystem_qws.cpp: In member function ‘void QWSServer::openMouse()’:
    kernel/qwindowsystem_qws.cpp:2543:20: warning: unused variable ‘h’ [-Wunused-variable]
    make[2]: *** [.obj/release-shared-emb-x86/qwindowsystem_qws.o] Error 1
    make[2]: Leaving directory /home/user/Projects/QT3.2.1/qt-3.2.1/src' make[1]: *** [sub-src] Error 2 make[1]: Leaving directory /home/user/Projects/QT3.2.1/qt-3.2.1'
    make: *** [init] Error 2

    How to resolve the problem?

    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