Jump to content

C++ GUI App Using Python Possible?

But...why would you want to do that?

You could use something like qt or GTKmm, even Visual C++.

 

Anyway, you should read this : https://docs.python.org/2/extending/embedding.html

i5 4670k @ 4.2GHz (Coolermaster Hyper 212 Evo); ASrock Z87 EXTREME4; 8GB Kingston HyperX Beast DDR3 RAM @ 2133MHz; Asus DirectCU GTX 560; Super Flower Golden King 550 Platinum PSU;1TB Seagate Barracuda;Corsair 200r case. 

Link to post
Share on other sites

you would need the c++ program to input to a python program to display the stuff, thn have the python program input into c++ for input

 

so basically it would be a mess and would work like crap

 

choose one language or the other

there are plenty of GUI options for c++

one example is fltk, which is awesome

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

It is possible, however you it would be a massive pain to get them both to work together the way you want. Best thing to do is just stick to one programming language, the one the you know the best and has the best flexibility to make what you want. I wouldn't suggest putting them both together.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×