How SPI(Serial peripheral interface ) Works in QT on Raspberry Pi B3+
-
@aha_1980 thanks for your reply I already had visited that site and tried to incorporate that in my Qt code but it is failing. does someone have a proper working example of this SPI+RPi+Qt?.
-
@aha_1980
basically this is my first project in which i have to use RPi peripherals through Qt programming and I have no idea how to do this. there are very less number to no examples about this topic over the internet. what I did was i followed this YouTube video https://www.youtube.com/watch?v=5gmLO0B6xSo , and made small GUI with buttons. project gets build but GUI doesn't appears. if there is proper process please let me know and if their are more example projects related to this then are more welcomed. thank you for your time. -
@aha_1980
basically this is my first project in which i have to use RPi peripherals through Qt programming and I have no idea how to do this. there are very less number to no examples about this topic over the internet. what I did was i followed this YouTube video https://www.youtube.com/watch?v=5gmLO0B6xSo , and made small GUI with buttons. project gets build but GUI doesn't appears. if there is proper process please let me know and if their are more example projects related to this then are more welcomed. thank you for your time.@Andrex_Qt said in How SPI(Serial peripheral interface ) Works in QT on Raspberry Pi B3+:
but GUI doesn't appears
What graphics environment do you use on your RPi (X11, Wayland, ...)? What OS (is it Raspbian?)? Do you get any errors if you try to start your app?
-
@Andrex_Qt said in How SPI(Serial peripheral interface ) Works in QT on Raspberry Pi B3+:
but GUI doesn't appears
What graphics environment do you use on your RPi (X11, Wayland, ...)? What OS (is it Raspbian?)? Do you get any errors if you try to start your app?
-
@jsulm
I am using RPI 3 B+ board Raspbian lite OS, i don't know about the graphics environment and yes when i press Gui button whole application disappears with error message that process got killed.@Andrex_Qt Can you post the error message?
-
@Andrex_Qt Can you post the error message?
-
Hi,
Did you check that you have everything initialised properly ?
You should run your application through the debugger. You can then get the stack trace and get clues from it on when it failed.
-
Hi,
Did you check that you have everything initialised properly ?
You should run your application through the debugger. You can then get the stack trace and get clues from it on when it failed.
-
What was the issue ?
-
@Andrex_Qt it would be great if you could described the issue more specifically and also provide a detail of what was the solution. In addition, please don't forget to mark your post as solved. Thanks.
-
@Andrex_Qt it would be great if you could described the issue more specifically and also provide a detail of what was the solution. In addition, please don't forget to mark your post as solved. Thanks.