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. Downolad Qt 4.x
Forum Updated to NodeBB v4.3 + New Features

Downolad Qt 4.x

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 518 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.
  • M Offline
    M Offline
    Milosz
    wrote on last edited by
    #1

    Is it possible to download the Qt 4.x library using the Maintenance tool? Last version on the list is 5.9.0.
    Is there any other way to get that version of Qt?

    jsulmJ 1 Reply Last reply
    0
    • M Milosz

      Is it possible to download the Qt 4.x library using the Maintenance tool? Last version on the list is 5.9.0.
      Is there any other way to get that version of Qt?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Milosz said in Downolad Qt 4.x:

      Is there any other way to get that version of Qt?

      https://download.qt.io/archive/qt/4.8/4.8.7/

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Milosz said in Downolad Qt 4.x:

        Is there any other way to get that version of Qt?

        https://download.qt.io/archive/qt/4.8/4.8.7/

        M Offline
        M Offline
        Milosz
        wrote on last edited by Milosz
        #3

        @jsulm
        Hi,
        I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:

        dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
        dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
        281 | delete widget.cupsPropertiesPage;

        Could you help me, please

        ps.
        I need to add my system is Ubuntu 22.04

        JonBJ jsulmJ 2 Replies Last reply
        0
        • M Milosz

          @jsulm
          Hi,
          I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:

          dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
          dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
          281 | delete widget.cupsPropertiesPage;

          Could you help me, please

          ps.
          I need to add my system is Ubuntu 22.04

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @Milosz said in Downolad Qt 4.x:

          no member named ‘cupsPropertiesPage’

          I think your problem is that 22.04's gcc is much newer than what was current during Qt4, and you need to read through https://github.com/wkhtmltopdf/packaging/issues/63

          it looks like Qt 4 does not compile with gcc 9 (at least the version of Qt 4 used by wkhtmltopdf). gcc 9 is the default version in Ubuntu 20.04, but gcc 7 is also available.

          You may find you need to get an old version of gcc to make it possible to compile Qt4 now.

          1 Reply Last reply
          0
          • M Milosz

            @jsulm
            Hi,
            I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:

            dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
            dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
            281 | delete widget.cupsPropertiesPage;

            Could you help me, please

            ps.
            I need to add my system is Ubuntu 22.04

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Milosz Are you trying to build Qt4 by yourself?
            If so why?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            M 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Milosz Are you trying to build Qt4 by yourself?
              If so why?

              M Offline
              M Offline
              Milosz
              wrote on last edited by
              #6

              @jsulm Hi,
              I decided to go back to Ubuntu 20.04 to avoid such problems

              Miłosz

              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