Make buildable with Qt 5.3
Hello everyone,
I use Debian Jessie and I use libs in ~/.local so I add the following line in the Makefile.
CXXFLAGS = -I/home/user/.local/include ...
It find Vapoursynth properly but it fail after with this error:
Makefile:990: recipe for target '../generated/obj-release-64bit-gcc/frame_header_writer_y4m.o' failed
make: *** [../generated/obj-release-64bit-gcc/frame_header_writer_y4m.o] Error 1
Cheers
Comments (11)
-
repo owner -
repo owner Also, don't add anything into the Makefile. Edit local_quirks.pri instead.
-
reporter What must I exactly add in local_quirks.pri to add the include of VapourSynth ?
-
repo owner INCLUDEPATH += /home/user/.local/include
-
reporter Thanks, the error was a little more above the message.
../src/frame_consumers/frame_header_writers/frame_header_writer_y4m.cpp: In member function ‘virtual QByteArray FrameHeaderWriterY4M::framePrefix(const VSFrameRef*)’: ../src/frame_consumers/frame_header_writers/frame_header_writer_y4m.cpp:130:26: error: ‘fromStdString’ is not a member of ‘QByteArray’ QByteArray prefixData = QByteArray::fromStdString(prefix); ^ Makefile:1015: recipe for target '../generated/obj-release-64bit-gcc/frame_header_writer_y4m.o' failed make: *** [../generated/obj-release-64bit-gcc/frame_header_writer_y4m.o] Error 1
-
repo owner QByteArray::fromStdString() was introduced in Qt 5.4. What version have you got?
-
reporter Ah yes, that explain the problem.
Package: qt5-qmake Source: qtbase-opensource-src Version: 5.3.2+dfsg-4+deb8u2
The Debian version is not recent enough... The only solution is to use a recent qmake ?
-
repo owner I could make it work for you, but have you seen the warning? It is not recommended to build with Qt version lower than 5.6.1. It can bug hard on you.
-
reporter Yes, but I had understand that it was more present on Windows so I tought I will give it a try. Now I can look if it's easy to use another qmake for Debian.
-
repo owner - changed title to Make buildable with Qt 5.3
- marked as enhancement
- marked as minor
-
repo owner - changed status to resolved
Resolved in 07fbc3c.
- Log in to comment
What IS the error? Also, try cleaning and then rebuilding.