Hi,

I tried to compile a complex project with Qt 5.14.0, which contains a
reference
to GL\gl.h, so called Glut3 or OpenGL parts. The whole project compiles on
an
old computer. I tried to copy the CMakeList.txt based project on a new
computer.
After I installed config-pkg, it compiled with qtcreator without any errors
and I
was able to start it as a desktop program. Actually it has to be
cross-compiled,
and it also has a build-script.sh. So that is that it is running as a
desktop program
with the qtcreator is only a proof that it doesn't have any errors.

If I start the cross compilation with the build-script.sh, it throws random
recurring
errors containing: "QT_WARNING_DISABLE_DEPRECATED does not name a type",
"QT_INIT_METAOBJECT does not name a type" for the generated
moc_myprogram.cpp as the moc-compiler is running. Through the
cross-compilation script it comes to an error
that can be a missing library linkage. But in which .lib or .so are those
QT_WARNING_DISABLE_DEPRECATED? What should I add to the library linkage?

Tamas
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to