viraj
viraj

Reputation: 1814

Creating GUIs for application

This is a question I've been wondering about for a long time. How do you create an Interface for your program ? It seems to much of a pain to position form controls and buttons using just code. I'm looking for something similar to Visual Basic where you can drag and drop controls onto the window. But, I want to do this for applications written in C++. Can It be done with compilers like MinGW on Eclipse ?

Upvotes: 2

Views: 2653

Answers (4)

walt_r
walt_r

Reputation: 21

The 1.7 GB download you look at is probably the full Qt SDK. This is not just Qt and documentation, but also includes the Qt Creator IDE with the Qt Designer "Form builder", the MinGW compiler, debugger, examples, demos, and some other stuff. There's also an "online installer" that allows you to select the packages you want before downloading everything. That's probably what I'd use if I were starting from scratch on Windows.

Upvotes: 1

Dave Rager
Dave Rager

Reputation: 8160

If you don't want to go the Qt route you can use ResEdit which is freeware. It will produce Win32 friendly .rc files that can be built with the MinGW resource compiler and used in Win32 applications.

There are some C++ Win32 wrapper libraries available though I'm not aware of any that are nearly as mature as Qt. I believe WinxGui is a port of WTL (or at least claims to be compatible with WTL) for GCC. It doesn't look like there has been much activity on the project site for a few years however.

Upvotes: 1

Sarfaraz Nawaz
Sarfaraz Nawaz

Reputation: 361612

Qt toolkit is written in C++. So you can use it to develop GUI. It also comes with Qt Designer and Qt Creator IDE and tools.

And you can use MinGW to compile the code. You don't need to download MInGW separately. When installing Qt toolkik, it asks if you want to download MInGW also, just say yes to it. It will then download the correct version of MInGW itself.

Upvotes: 1

Andrejs Cainikovs
Andrejs Cainikovs

Reputation: 28464

What you're searching for is called Qt, both Eclipse and MinGW friendly.
Check out this nice article.

Upvotes: 1

Related Questions