Thread overview
QtE56: QFormBuilder: Error: undefined identifier `QFormBuilder`
Apr 28, 2022
Marcone
Apr 28, 2022
MGW
Apr 28, 2022
Marcone
Apr 28, 2022
Mike Parker
Apr 29, 2022
Marcone
Apr 29, 2022
Marcone
Apr 29, 2022
Marcone
April 28, 2022

I'm trying to load a .ui GUI designed in Qt Designer. I'm following the examples in the links below, but the following error occurs: Error: undefined identifier QFormBuilder

QFormBuilder qfb = new QFormBuilder(this);
setQtObj((qfb.load(":/fQtE56help.ui")).QtObj);

Could anyone help me to solve the problem? I would like to design my GUI in Qt Designer, and load the .ui to create my program.

April 28, 2022

On Thursday, 28 April 2022 at 01:25:57 UTC, Marcone wrote:

>

I'm trying to load a .ui GUI designed in Qt Designer. I'm following the examples in the links below, but the following error occurs: Error: undefined identifier QFormBuilder

Probably did not compile
QtE5-master/build/QtE56/qte56core.pro
QtE5-master/build/QtE56/qte56widgets.pro
Use QMAKE to build a DLL/SO

More details by mail: mgw@yandex.ru

April 28, 2022

On Thursday, 28 April 2022 at 06:58:12 UTC, MGW wrote:

>

On Thursday, 28 April 2022 at 01:25:57 UTC, Marcone wrote:

>

I'm trying to load a .ui GUI designed in Qt Designer. I'm following the examples in the links below, but the following error occurs: Error: undefined identifier QFormBuilder

Probably did not compile
QtE5-master/build/QtE56/qte56core.pro
QtE5-master/build/QtE56/qte56widgets.pro
Use QMAKE to build a DLL/SO

More details by mail: mgw@yandex.ru

Hi, I didn't compile it as Qt is too big for me to download just to use qmake to create these dlls. Could you please help all of us by making these dlls compiled for Windows x64 available? Thank you very much.

I sent you an email. Could you answer me and send me these dlls for Windows x64? Thanks.

April 28, 2022

On Thursday, 28 April 2022 at 07:28:26 UTC, Marcone wrote:

>

On Thursday, 28 April 2022 at 06:58:12 UTC, MGW wrote:

>

On Thursday, 28 April 2022 at 01:25:57 UTC, Marcone wrote:

>

I'm trying to load a .ui GUI designed in Qt Designer. I'm following the examples in the links below, but the following error occurs: Error: undefined identifier QFormBuilder

Probably did not compile
QtE5-master/build/QtE56/qte56core.pro
QtE5-master/build/QtE56/qte56widgets.pro
Use QMAKE to build a DLL/SO

More details by mail: mgw@yandex.ru

Hi, I didn't compile it as Qt is too big for me to download just to use qmake to create these dlls. Could you please help all of us by making these dlls compiled for Windows x64 available? Thank you very much.

I sent you an email. Could you answer me and send me these dlls for Windows x64? Thanks.

Please. There's no need to carry on the exact same conversation in two threads. Just do it here. Thanks!

April 29, 2022

On Thursday, 28 April 2022 at 06:58:12 UTC, MGW wrote:

>

On Thursday, 28 April 2022 at 01:25:57 UTC, Marcone wrote:

>

I'm trying to load a .ui GUI designed in Qt Designer. I'm following the examples in the links below, but the following error occurs: Error: undefined identifier QFormBuilder

Probably did not compile
QtE5-master/build/QtE56/qte56core.pro
QtE5-master/build/QtE56/qte56widgets.pro
Use QMAKE to build a DLL/SO

More details by mail: mgw@yandex.ru

Now is working very well. But, how can I reference a widget using .ui?

connects("MyButton", "clicked()", botao_acao, "Slot_AN()");

How can I reference "MyButton"????

April 29, 2022

On Friday, 29 April 2022 at 03:08:29 UTC, Marcone wrote:

>

Now is working very well. But, how can I reference a widget using .ui?

connects("MyButton", "clicked()", botao_acao, "Slot_AN()");

How can I reference "MyButton"????

Work with this code very well.

connects(findChild("MyButton"), "clicked()", new QAction(this, &start, aThis), "Slot_AN()");

April 29, 2022

Even having made it work, it was a lot of work for nothing. Using .ui I can't even change the text of a label because I don't know how to reference a widget within the D code.

I was able to reference pushButton "MyButton" using findChild in connects, but findChild doesn't work to modify some widget property like changing text using setText.

connects(findChild("MyButton"), "clicked()", new QAction(this, &start, aThis), "Slot_AN()");

Could someone help me, and thus help a lot of people who I know will go through this forum when they need help?