Quote Originally Posted by donelron View Post
I am using compiler GCC for 64 bit, which QtCreator auto-detected in /usr/bin.
Compiling the above project gives the following error results:

Qt Code:
  1. /home/ron/QtCreator/MWElibjpegForQtForum/Application/main.cpp:18: error: undefined reference to `jpeg_std_error'
  2. /home/ron/QtCreator/MWElibjpegForQtForum/Application/main.cpp:19: error: undefined reference to `jpeg_CreateDecompress'
  3. /home/ron/QtCreator/MWElibjpegForQtForum/Application/main.cpp:30: error: undefined reference to `tjInitDecompress'
To copy to clipboard, switch view to plain text mode 
The linker complains that there are certain symbols used by your program that it can't find anywhere.
You are using functions that your program does not provide itself but you are also not linking to any libraries that would provide these.

You need to specify their path and name in the .pro file, using the LIBS variable.

Cheers,
_