qt5 build on RPI2 - no uart/gpio
Posted: Sat Mar 12, 2016 5:28 am
I am building QLC+ on a RPI2 using qt5 on Raspbian jessie. WIth jessie one can now install qt5 with apt-get install qtcreator. This works. Using the excellent instructions on how to build QLC+ with qt5, I got that to work as well. But the UART (and GPIO) plugins are are not built and therefore not available.
Looking at plugins.pro I can see the build of the uart (and gpio) plugins are wrapped in this test greaterThan(QT_MAJOR_VERSION,4) so it seems that QT_MAJOR_VERSION is not set to 5 when I installed qtcreator.
Since I am on a pi and I know I have qt5, I tried moving the uart SUBDIR statement outside the loop but get the following error: recipe for target 'sub-uart-make-first' failed
So I suspect there is some other stuff needed to make it work.
I know I am trying to do something outside the normal QLC+ soace, I was just hoping that someone has an idea on how I can go from here.
Looking at plugins.pro I can see the build of the uart (and gpio) plugins are wrapped in this test greaterThan(QT_MAJOR_VERSION,4) so it seems that QT_MAJOR_VERSION is not set to 5 when I installed qtcreator.
Since I am on a pi and I know I have qt5, I tried moving the uart SUBDIR statement outside the loop but get the following error: recipe for target 'sub-uart-make-first' failed
So I suspect there is some other stuff needed to make it work.
I know I am trying to do something outside the normal QLC+ soace, I was just hoping that someone has an idea on how I can go from here.