I try using Qt 5.9.2 under OpenSuse, compile two applications. The first one compiles without problems and runs. A second application with the same code indicates an error Wrong JPEG library version: library is 62, caller expects 80 at startup.

  • And if you additionally install version 80? Speech about libjpeg62-dev and libjpeg80-dev? By the way, is GTK + FR installed? - Viktor Tomilov
  • @ViktorTomilov Feel free to write the answer - Cerbo

1 answer 1

Still, I'm not sure that the answer will be correct, since it never worked under OpenSUSE. But under * Ubuntu came across several times when using libjpeg. Almost always helped:

 sudo apt-get install libjpegXX-dev , где XX - номер необходимой версии 

those. installation of the required version of the library. And in one case - it did not help. They took a long time, the problem was finally decided, but 100% it was not clear how. I sin on the GTK + framework, after the removal of which everything worked, but I don’t know if this is true.

  • Thank you, I will try - Insider
  • The same for Edubuntu was, only versions, EMNIP, 80 and 90. Indeed, installing an additional version of the library solves the problem. - Alexey Kozlov
  • I tried, the problem remained. Here is a screenshot of the installed versions of prntscr.com/hxz09p . Do I need to add a LIB to the .pro file? And yet it is strange why the first one works, and the second one with the same code does not exist - Insider