#c++ help - making a gui

1 messages · Page 1 of 1 (latest)

tardy mist
#

Hello, I have made an application in python and it works great but I want to make it to exe for easier use for myself but making the exes are just a pain every time. I have now decided to convert it to c++ as I have previous experience with it but haven’t ever made a gui. I am just looking for advice/pointers/suggestions for it. Thanks in advance.

hybrid coral
#

The process of making an exe from your code won't be easier in C++

tardy mist
#

It’s also for learning/ gaining experience in new things

hybrid coral
#

That's a whole other thing. About making an exe out of some code written in Python, have you every tried PyInstaller and Py2exe? They work pretty well.

tardy mist
#

Auto py to exe is what I used. It works but just curious tbh now about the c++ guis

digital spear
#

also, how converting the app into exe would help it easier to use?

hybrid coral
#

And to answer your question about making GUI with C++, there's GTK and Qt toolkits. Very easy to find.

hybrid coral
tardy mist
#

I had a look at qt but I think it’s paid unfortunately

#

I’ll look in to gtk thank you

hybrid coral
#

Afaik, Qt is free

#

I'm pretty sure it uses LGPL3

#

Why is Qt licensed also under an open source license?

We believe in the Free Software movement where using software comes with certain rights, but also certain obligations. Use of open source licensing gives users four primary degrees of freedom when using Qt applications or devices:

The freedom to run the program for any purpose
The freedom to study how the program works and adapt it to specific needs
The freedom to redistribute copies so you can help your neighbor
The freedom to improve the program and release your improvements to the public, so that the whole community benefits

The freedoms are non-negotiable and absolute, the freedoms cannot be enjoyed selectively or partially, you also need to pass them to your users.

The Free Software community has thrived because of these rules, but there are also developers who never intend to observe or cannot comply to these rules, and thus should get a commercial license. The Qt Company exists to support both sets with the dual offering.
https://www.qt.io/faq/tag/qt-open-source-licensing

digital spear
tardy mist
#

pythons a bit of a pain for like installs

#

for a non technical friend

#

but i agree

digital spear
#

agreed :)