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. Api change in QT 5.3 setSectionResizeMode (solved)
Forum Updated to NodeBB v4.3 + New Features

Api change in QT 5.3 setSectionResizeMode (solved)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.7k 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.
  • I Offline
    I Offline
    iplayfast
    wrote on last edited by
    #1

    I've just installed what I believe is the latest/greatests qt,
    qt-opensource-linux-x64-1.6.0-5-online.run

    Now when I compile my program I'm getting an error:
    class QHeaderView' has no member named 'setSectionResizeMode' ui->ValueTable->horizontalHeader()->setSectionResizeMode(0,QHeaderView::Stretch);
    Am I being stupid somehow or has a mistake been made. (or something else).

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Maybe a silly question but are you sure you are using a Qt 5 kit to build your application and not a Qt 4 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iplayfast
        wrote on last edited by
        #3

        It is Qt 5.3, (but it was good idea to check).

        1 Reply Last reply
        0
        • I Offline
          I Offline
          iplayfast
          wrote on last edited by
          #4

          Found it. I had a manual kit installed by the distro that I guess it was picking up on. Removed it and things magically started working.

          Thanks for setting me on the path.

          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