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.
#c++ help - making a gui
1 messages · Page 1 of 1 (latest)
The process of making an exe from your code won't be easier in C++
It’s also for learning/ gaining experience in new things
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.
Auto py to exe is what I used. It works but just curious tbh now about the c++ guis
also, how converting the app into exe would help it easier to use?
And to answer your question about making GUI with C++, there's GTK and Qt toolkits. Very easy to find.
Well, aren't we in a classic xyz problem. Anyway, I recommend that you look into Qt. There's a good tutorial
Just means I can double click instead of loading up vs and running
I had a look at qt but I think it’s paid unfortunately
I’ll look in to gtk thank you
Afaik, Qt is free
I'm pretty sure it uses LGPL3
Qt is available under both commercial licenses[4] and open-source[12] GPL 2.0, GPL 3.0, and LGPL 3.0 licenses.[5][6]
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 benefitsThe 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
you can create a shortcut to python.exe <path_to_the_script> and double click it.
but regardless, if you just want to experiment with c++ that's great :)
also thinking if a friend wants to use it in future
pythons a bit of a pain for like installs
for a non technical friend
but i agree
agreed :)