Comments on: Chapter 14: Raspberry Pi with a Rich User Interface https://www.exploringrpi.com Companion Site for the book Exploring Raspberry Pi Fri, 27 Apr 2018 02:56:25 +0000 hourly 1 https://wordpress.org/?v=5.0.1 By: Maykow https://www.exploringrpi.com/chapter14/#comment-355 Fri, 06 Apr 2018 13:30:29 +0000 https://www.exploringrpi.com/?page_id=487#comment-355 Hello Derek. Congrats on this amazing book! Your focus on using C and C++ is really helpful and change minds (almost everybody is using Python for Raspberry). I’m running the HellowWorld example (the very first one for the Qt5 in this chapter) and I’m getting the message ” ‘label’ was not declared in this scope” in function ‘int main(int, char**). I believe I must change something at Header and .pro file. Any library missing or additional configuration required? Thanks!

]]>
By: Tom McQueary https://www.exploringrpi.com/chapter14/#comment-257 Fri, 21 Jul 2017 22:06:50 +0000 https://www.exploringrpi.com/?page_id=487#comment-257 I installed Qt on my RPi3 and compiled and ran the sample apps on pages 598 and 599. The first time I tried to build a project I got errors.The error message and footnote on page 597 led to the solution. I had to add gcc and the path (/usr/bin/gcc) to allow Qt to find the compiler. So that’s the only configuration I had to do. Hope this helps.

]]>
By: Phil https://www.exploringrpi.com/chapter14/#comment-237 Tue, 27 Jun 2017 14:37:36 +0000 https://www.exploringrpi.com/?page_id=487#comment-237 I installed Qt5 package on a Pi3, can open the creator – but the next stage – configuration is causing me grief.
Can anyone help ? – i tried to relate to Beagle videos, which I believe cover the necessary – but no joy.

Shame – seems like a cool package.

Here’s hoping :-
Phil

]]>
By: Tom McQueary https://www.exploringrpi.com/chapter14/#comment-199 Tue, 25 Apr 2017 03:14:56 +0000 https://www.exploringrpi.com/?page_id=487#comment-199 I’m trying to install the qt5-default package (Page 590) on a Model B+. Even after update and upgrade this package can not be found. I assume it’s because the package does not work on Model B+. Can someone confirm this?

Thanks,
Tom

]]>
By: admin https://www.exploringrpi.com/chapter14/#comment-115 Sun, 20 Nov 2016 14:11:30 +0000 https://www.exploringrpi.com/?page_id=487#comment-115 Hi Dani, Once you have wiringPi installed, you can add the library to the PRO file. Check the PRO file in the project QtWeather — see: https://github.com/derekmolloy/exploringrpi/blob/master/chp14/QtWeather/QtWeather/QtWeather.pro I add the library using LIBS += -lwiringPi
Hope that helps, Derek.

]]>
By: dani https://www.exploringrpi.com/chapter14/#comment-109 Sat, 12 Nov 2016 03:15:24 +0000 https://www.exploringrpi.com/?page_id=487#comment-109 Dear Derek
I’m trying to compile QtWeather example in Qtcreator with raspberry pi cross tool-chain.
but i get error because the compiler cant find wiringPi.h.
i don’t know how to add these libraries to this example.
could you please help me?
Regards,
Dani

]]>