PDA

View Full Version : qt-creator on Raspberry Pi 2 (Unknown modules; designer)



pirata
11th October 2015, 22:17
I downloaded and installed QT5 from Git. Don't believe there were any issues with my installed, followed the following instructions:
https://wiki.qt.io/Native_Build_of_Qt5_on_a_Raspberry_Pi

Verification of qmake gives...
"qmake - version"
QMake version 3.0
Using Qt version 5.6.0 in /usr/local/qt5/lib
I also was able to run the 'example' calculator from this folder:
~/opt/qt5/qtbase/examples/widgets/widgets/calculator
after
qmake
make
./calculator (in X, using 'startx')
./cube
------------------------

After that I proceeded to install qt-creator and followed the following instructions:
https://wiki.qt.io/Building_Qt_Creator_from_Git

I follow all the steps and still get
Project ERROR: Unknown module(s) in QT: designer designercomponents-private

I still get the same error after running make module-qtscript.
My setup:
/home/pi/opt/qt5 (qt5 from git)
/home/pi/source/qtcreator/qt-creator/ (qt-creator from git)

Any help would be appreciated.
Thanks
Patrick

pirata
12th October 2015, 14:01
UPDATE:

I did the following:
make
sudo make install
in the following directory:
~/opt/qt5/qttools/src/designer/src

after that, running:
qmake -r ../qt-creator/qtcreator.pro
in the following directory:
~/source/qtcreator/qt-creator
Still gives:
Project ERROR: Unknown module(s) in QT: designer designercomponents-private

still investigating..., any help appreciated.

pirata
24th October 2015, 17:14
I corrected the issue by installing the 'just released' version of raspbian Jessie.
That specific cut has QT5 installed. Had to manually install some other packages, but all went well.

Pat