digitalmars.D - QtE56: QFormBuilder: Error: undefined identifier `QFormBuilder`
- Marcone (11/11) Apr 27 2022 I'm trying to load a .ui GUI designed in Qt Designer. I'm
- MGW (6/9) Apr 27 2022 Probably did not compile
- Marcone (7/16) Apr 28 2022 Hi, I didn't compile it as Qt is too big for me to download just
- Mike Parker (3/22) Apr 28 2022 Please. There's no need to carry on the exact same conversation
- Marcone (5/14) Apr 28 2022 Now is working very well. But, how can I reference a widget using
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); * https://github.com/MGWL/QtE5/ * https://github.com/MGWL/QtE5/wiki * https://github.com/MGWL/QtE5/wiki * https://www.youtube.com/watch?v=TFN5P4eoS_o 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.
Apr 27 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 QFormBuilderProbably 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
Apr 27 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: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.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 QFormBuilderProbably 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
Apr 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:Please. There's no need to carry on the exact same conversation in two threads. Just do it here. Thanks!On Thursday, 28 April 2022 at 01:25:57 UTC, Marcone wrote: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.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 QFormBuilderProbably 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
Apr 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: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"????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 QFormBuilderProbably 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
Apr 28 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()");
Apr 28 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?
Apr 28 2022