February 16, 2011

thambi03 thambi03
Lab Rat
8 posts

Is QtCreator developed in Qt/C++

 

Hello,

I know this is a stupid question but just wanted to check if QtCreator was developed in Qt/C++.

Also, I am having problems with Qt Creator. Its not as easy to use as VS2005 or VS2008.
Anyone have a different opinion here.

I am developing mainly for the windows platform.

Thanks

10 replies

February 16, 2011

Andre Andre
Area 51 Engineer
6031 posts

Yes. And you could have easily checked that yourself, since all sources are available.

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

February 16, 2011

josemaria josemaria
Lab Rat
20 posts

Thambi03, I dont really agreed with but I guess it is a subjective question. In my opinion QtCreator it is not only easier to use than visual studio but also it is more stable and it takes less resources. I dont really know what do you expect from a IDE, but after 16 years developing software in the industry, i think Qt Creator is it the best IDE I have ever seem to do C++ software

February 17, 2011

Gerolf Gerolf
Area 51 Engineer
3210 posts

Hi josemaria

what is good or not for an IDE depends on personal opinions.

QtC reator is more lightwight than MSVS, that’s correct, for all other things, it’s difficult to say.

I’m also using MSVS since years in industry, and my personal opinion is, MSVS is better to handle, but perhaps because I’m used to handle it. And I never had problems with stability etc.

QtCreator is different, that’s the point. At home, I use QtCreator, so I also know it…

Back to thambi03:

Also, I am having problems with Qt Creator.

which problems? Can you describe them a bit more, please? perhaps we can help.

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

February 17, 2011

Franzk Franzk
Lab Rat
830 posts

Visual Studio, in my opinion of course, has the worst editor, project management, and environment management that has ever seen the light of day. I’d rather code using notepad. It has random crashes, both during editing and debugging. It messes up our project files every now and then (especially configurations (Win32/x64, Debug/Release that sorta thing)) Debugger is cool though, save for the little fact that I cannot drag variables into my watch window — it will crash VS. How’s that for a stable product?

Since I have to use it for my daily work, I use creator to code and studio to debug. I’m rather used to that kind of work flow anyway.

 Signature 

“Horse sense is the thing a horse has which keeps it from betting on people.”—W.C. Fields

http://www.catb.org/~esr/faqs/smart-questions.html

February 17, 2011

thambi03 thambi03
Lab Rat
8 posts

@Gerolf
I want to develop an MDI Application in Qt.
But using QtCreator, if i just drag an MdiArea widget onto the desktop, then i have to manually go and setCentralWidget().
This will be overwritten if i save the .ui file again which generates new code. This is one of the problems.

I am new to Qt and my goal is to develop an MDI application like Merkaartor for Windows. Apparently a lot of cool apps for Qt have been developed but i am just getting stuck starting.

The thing is i dont want to write everything by code itself but would like to visualize things using tools like QtCreator. But am having problems.

February 17, 2011

Volker Volker
Robot Herder
5428 posts

In Designer:

  • Create new UI for a MainWindow
  • drag the MDI area to the central area of the MainWindow
  • click on the background of the main window or choose the MainWindow in the object browser and add a vertical box layout (the icon with the three horizontal bars in the toolbar)

This automatically sets up the central widget which in turn contains your MDI area.

The trick is to set a layout on the central area.

You should never fiddle around in the generated ui_xxx.h file, as it will be recreated. But you already realized this ;-)

February 18, 2011

Franzk Franzk
Lab Rat
830 posts

Hmm, I just call setCentralWidget() in my constructors after ui->setupUi(). Works like a charm.

 Signature 

“Horse sense is the thing a horse has which keeps it from betting on people.”—W.C. Fields

http://www.catb.org/~esr/faqs/smart-questions.html

February 18, 2011

Volker Volker
Robot Herder
5428 posts
Franzk wrote:
Hmm, I just call setCentralWidget() in my constructors after ui->setupUi(). Works like a charm.

This is not necessary (and may be dangerous, as it fiddles around in the object hierarchy). If you layout the central widget in Designer (just set a layout on the main window!), your ui_xxx.h file already contains a call to setCentralWidget() – check the file!

February 18, 2011

thambi03 thambi03
Lab Rat
8 posts

I actually want to develop an application “like” QtCreator. So i thought i need to use MdiArea to achieve it.
But I guess i can make it work with TabWidgets, DockWidgets etc.

Especially with TabWidget. Instead of opening a new window(in MdiArea) for each new file, I could open it in the TabWidget.

Please does anyone have another idea about this.

February 18, 2011

Tobias Hunger Tobias Hunger
Mad Scientist
3130 posts

You are aware that Qt Creator is open source? So if you want to develop something like it, maybe you can get away with programming plugins for it? ;-)

Qt Creator is actually mostly a plugin manager. Almost all the functionality is provided by plugins. So if you remove all our plugins you get a pretty basic shell to add you own plugins into.

 
  ‹‹ Open documents sorting      qdoc3 - Documentation HowTo ››

You must log in to post a reply. Not a member yet? Register here!