I downloaded the offline Qt 5.1.1 (32-bit) package from the website. Just installed it on my Ubuntu 12.04 machine. I had installed build-essentials prior to the Qt install.
I opened a new Application/GUI project in Qt Creator to play around with. Haven't added anything to it yet so it just has its default files. I tried to build it using the Creator Build button and it throws errors:
:-1: error: skipping incompatible /home/Me/Qt5.1.1/5.1.1/gcc/lib/libQt5Widgets.so when searching for -lQt5Widgets
:-1: error: cannot find -lQt5Widgets <
Does same thing for the QtCore/Gui files.
Decided to open one of the examples that was included with Qt. Then built it. It also threw the same errors.
What's wrong? My extra reading said something about adding a QT += widgets line in the .pos file but that seems to be there, automatically, inside a version checker.
I thought this was going to be working out of the box? What have I missed?
QT += widgets, mind the "s" (not "widget"). Incompatible sounds like you're mixing 32bit and 64bit or something.