(Solved) compile errors with release 2-2.13.

  • 3 Replies
  • 125 Views

0 Members and 1 Guest are viewing this topic.

Offline piotrv

  • *
  • Fractal Freshman
  • *
  • Posts: 5
« on: March 31, 2018, 03:52:22 PM »
I get compiler errors :

Code: [Select]
../qt -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o dock_image_adjustments.o ../qt/dock_image_adjustments.cpp
../qt/dock_image_adjustments.cpp: In member function void cDockImageAdjustments::InitResolutionPresets():
../qt/dock_image_adjustments.cpp:365:52: error: no matching function for call to QAction::QAction(QString)
   QAction *action = new QAction(tr("Change preset"));
                                                    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1:0,
                 from ../qt/ui_dock_image_adjustments.h:13,
                 from ../qt/dock_image_adjustments.cpp:37:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate: QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate: QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note:   candidate expects 3 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate: QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate: QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note:   no known conversion for argument 1 from QString to QObject*
Makefile:4532: recipe for target 'dock_image_adjustments.o' failed
make: *** [dock_image_adjustments.o] Error 1

I had no issues with previous releases.

Ubuntu 16.04.4 LTS
Qt 5 libraries 5.5.1 installed


« Last Edit: March 31, 2018, 10:51:58 PM by piotrv »

Offline buddhi

  • *
  • Fractal Fruit Salad
  • *****
  • Posts: 65
    • Mandelbulber GitHub repository
« Reply #1 on: March 31, 2018, 04:08:26 PM »
Mandelbulber 2.13 needs Qt 5.7 or newer

Offline piotrv

  • *
  • Fractal Freshman
  • *
  • Posts: 5
« Reply #2 on: March 31, 2018, 07:38:40 PM »
Mandelbulber 2.13 needs Qt 5.7 or newer
Aha ! The README file is mentioning Qt 5 runtime version > 5.3 as a requirement, so I presumed compile time version > 5.3 would be sufficient.
Maybe update the README file ?

Happy Easter / Wesołych Świąt !

Offline buddhi

  • *
  • Fractal Fruit Salad
  • *****
  • Posts: 65
    • Mandelbulber GitHub repository
« Reply #3 on: April 01, 2018, 07:42:03 AM »
You are right. README file needs to be updated.


xx
"Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
57 Views
Last post August 02, 2018, 07:05:21 AM
by cricke49
xx
Birdie Style

Started by gannjondal on Fractal Image Gallery

1 Replies
145 Views
Last post May 08, 2018, 02:39:37 PM
by who8mypnuts
xx
(Solved) Click image to open link not working

Started by Anon on Testing-Area

9 Replies
597 Views
Last post February 14, 2018, 06:15:02 AM
by Anon
xx
OpenCL double precision in release 2.2.13

Started by piotrv on Mandelbulber

11 Replies
330 Views
Last post April 16, 2018, 02:58:42 PM
by mclarekin
xx
Several Problems / Errors

Started by PMH on Kalles Fraktaler

5 Replies
214 Views
Last post December 07, 2017, 04:43:37 PM
by PMH