Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. changed qt 4 to qt 5
Qt 6.11 is out! See what's new in the release blog

changed qt 4 to qt 5

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.2k Views
  • 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.
  • C Offline
    C Offline
    cimer84
    wrote on last edited by koahnig
    #1

    Hello,

    I have a problem when I compilation my code. I changed qt4 to qt5 and I have this error:

    In file included from /usr/local/Trolltech/Qt-5/include/QtWidgets/QHeaderView:1:0,
                     from ./gen/ui_LrwMonitoringAlarmsAndWarnings.h:21,
                     from LrwMonitoringAlarmsAndWarnings.cpp:2:
    /usr/local/Trolltech/Qt-5/include/QtWidgets/qheaderview.h:228:10: error: ‘void QHeaderView::dataChanged(const QModelIndex&, const QModelIndex&, const QVector<int>&)’ marked override, but does not override
         void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles = QVector<int>()) Q_DECL_OVERRIDE;
    

    Can anyone help me please??

    [edit koahnig: code tags added]

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by m.sue
      #2

      Hi,

      this looks like an internal Qt error, but maybe you use something for what it is not meant to be used, like wrong compiler or OS.

      Which Qt version, anyway? Where did you get it from? Built it yourself, then which configure line?

      Please also show the file of yours where this error occurs.

      -Michael.

      1 Reply Last reply
      1

      • Login

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