logo elektroda
logo elektroda
X
logo elektroda

[Solved] Raspberry pi - creating applications with a graphical interface

pirates21 5229 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16817380
    pirates21
    Level 13  
    I warmly welcome,

    I have a question, in what environment do you create applications with a graphical interface for raspberry pi in C / C ++? So far I have been writing console applications in the Geany editor, now I would like to create something for the touchscreen. Greetings.
  • ADVERTISEMENT
  • Helpful post
    #2 16817408
    Anonymous
    Anonymous  
  • ADVERTISEMENT
  • #3 16817512
    pirates21
    Level 13  
    Maybe you would have some proven tutorial on how to configure visual studio as a cross compiler for raspberry? I will be very grateful :)
  • ADVERTISEMENT
  • #4 16817530
    Anonymous
    Anonymous  
  • #5 16818134
    maly_ninja
    Level 14  
    You can (I recommend) also write in Qt (c ++). Just download through apt-get and you're ready to go.
  • #6 16818231
    JacekCz
    Level 42  
    maly_ninja wrote:
    You can (I recommend) also write in Qt (c ++). Just download through apt-get and you're ready to go.


    After which two sad men with briefcases will come ... ;)
    (heard on the electrode, not everything with Qt is free)

    I thought GTK / GTK ++ was the most official for PI, but I'd like to accept the correction
  • ADVERTISEMENT
  • #7 16818256
    maly_ninja
    Level 14  
    It depends for what purposes Qt is used and what license.
    I read a bit about it and it mostly repeats itself, in a simplified way, the license conditions (GPL, LGPL) user jstaniek on the Qt forum:
    Quote:
    If you link dynamically, you don't need to publish the application code, only the modifications you made to Qt (if you did, which is rare).
    If you link statically, you must publish all the binary code it contains.
  • #8 17007497
    pirates21
    Level 13  
    Thanks for all the information. Greetings.

Topic summary

The discussion centers on creating graphical interface applications for Raspberry Pi using C/C++. Users suggest using Eclipse or Visual Studio for remote compilation, emphasizing that the compilation occurs on the Raspberry Pi itself. Recommendations include using Qt for C++ development, which can be installed via apt-get, although there are concerns regarding licensing (GPL, LGPL). GTK/GTK++ is also mentioned as a potential alternative for official support on Raspberry Pi. The conversation highlights the importance of configuring the debugging type correctly when using these IDEs.
Summary generated by the language model.
ADVERTISEMENT