Results 1 to 2 of 2

Thread: ubild error on linux with Qt 4.8.2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ubild error on linux with Qt 4.8.2

    Hi All,
    I moved from qt 4.7.2 to Qt 4.8.2 and I have to say just building Qt on linux was not straightforward: I had to modify a file (https://bugreports.qt-project.org/browse/QTBUG-23364) and build with some specific options (i.e. -no-xshape).

    Now building my app I get the following error:

    In file included from 3rd_party/qt/qt-4.8.2/include/QtCore/qobject.h:1,
    from 3rd_party/qt/qt-4.7.2/include/QtGui/../../src/gui/kernel/qwidget.h:27,
    from 3rd_party/qt/qt-4.7.2/include/QtGui/qwidget.h:1,
    from 3rd_party/qwt/qwt-6.0.1/src/qwt_abstract_slider.h:15,
    from 3rd_party/qwt/qwt-6.0.1/src/qwt_slider.h:15,
    from src/apps/virianimator/virianimatorgui/AnimationSlider.h:15,
    from src/apps/virianimator/virianimatorgui/AnimationSlider.cpp:9:
    3rd_party/qt/qt-4.8.2/include/QtCore/../../src/corelib/kernel/qobject.h:94: error: ISO C++ forbids declaration of `Q_DECL_HIDDEN' with no type
    3rd_party/qt/qt-4.8.2/include/QtCore/../../src/corelib/kernel/qobject.h:94: error: expected `;' before "static"

    Can anybody explain me please the reason?

    Regards
    Gianni
    Last edited by gambr; 1st August 2012 at 08:40.

Similar Threads

  1. Error using debugger in Linux
    By Frej in forum Qt Programming
    Replies: 0
    Last Post: 11th February 2010, 13:28
  2. Gtk error when installing Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 1
    Last Post: 18th November 2009, 05:08
  3. HELP ME - socket error in linux
    By donzaza in forum Qt Programming
    Replies: 0
    Last Post: 20th September 2008, 19:20
  4. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  5. Error install at linux red hat
    By Colx007 in forum Installation and Deployment
    Replies: 2
    Last Post: 8th October 2007, 16:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.