You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, March 27th 2012, 6:10pm

QDevelop/qtDesigner

Hello

I have a problem, if anyone can please help.

First I start QDevelop here i select a new project.
Then I select and create a mainwindow in the qtdesigner.

This works well and I can compile and build everything.

Now I add a dialog to the same project, it works fine HOWEVER no source is created for the dialog.

No matter what I do, clean, rebuild,build,qmake and any combination.. it never geneartes sorce code for the dialog (no files whatsoevever).

Inside qtdesigner I can select view source and see it but that is all..

I am using qdevelop/qtdesigner 4.7.2, it is the latest in my distro.

2

Tuesday, April 3rd 2012, 4:52pm

OK I found it.

It is a bad policy to hide automatically generated files completely.
(Thus not easily visible in the GUI..)

Why ?

Because even if I am never supposed to change in the files generated from ui files..
How can I understand how things work when I start with Qt if I can not look inside them..

I now I can look inside them...but I have to look for them first..
The place I looked was in sources and headers..and yeah main window was there so I expected dialog code to appear there as well.

So for someone that starts with Qt hiding some sources and headers confuses more than it does good.

It is very much like Microsoft windows parenting..

Thus the program decides for you what is good and not and this always sucks.