No documents matching "ui_form.h" could be found
-
When testing Qt Creator, for the first time, I receive No documents matching "ui_form.h" could be found.
Rebuilding the project might help. when adding a button to a frame and select GoTo Slot.
How can I resolve this?@BvdPutten said in No documents matching "ui_form.h" could be found:
How can I resolve this?
Did you build your project like the error message suggests? ui_form.h is generated when the project is built.
-
I am using Qt for Python development. Started my first test as said. Build function from the tollbar is grayed out. Did I misunderstand your question?
@BvdPutten said in No documents matching "ui_form.h" could be found:
No documents matching "ui_form.h" could be found.
Your question is posed in https://stackoverflow.com/questions/66369932/error-in-qtcreator-4-14-1-python-no-documents-matching-ui-form-h-could-be-f. You may not like the "answer" :(
Can you state your version of Creator, and maybe try another version?
-
I had the same problem , i am a beginner in python with Qt .
I got :
No documents matching "ui_form.h" could be found.
Rebuilding the project might help.But i am not able to build the project , the menu is disabled
what can i do ?
Thank you
-
I had the same problem , i am a beginner in python with Qt .
I got :
No documents matching "ui_form.h" could be found.
Rebuilding the project might help.But i am not able to build the project , the menu is disabled
what can i do ?
Thank you
-
Hi JonB, thank you for your answer, Yes i am using the menu Go To slot... as shown in the stack overflow.
What do you mean with : "Try removing any attempts you have made to use that feature and do it in Python code only"
i just create a simple and empty project in Qt Creator, selecting : Qt for Python - Window (UI file)
and then :
double click on form.ui , and then i pasted a button on the main form, then right mouse click by selecting Go To Slot ...
choosing an event just clicked().....
but i received the messagebox :
No documents matching "ui_form.h" could be found.
Rebuilding the project might help.and there is no possibility to Build the Project since the menu is disabled, see the pictures
Thank you very much for your answer , i am just a beginner on Qt and Python
Regards Carlo
   
-
Hi JonB, thank you for your answer, Yes i am using the menu Go To slot... as shown in the stack overflow.
What do you mean with : "Try removing any attempts you have made to use that feature and do it in Python code only"
i just create a simple and empty project in Qt Creator, selecting : Qt for Python - Window (UI file)
and then :
double click on form.ui , and then i pasted a button on the main form, then right mouse click by selecting Go To Slot ...
choosing an event just clicked().....
but i received the messagebox :
No documents matching "ui_form.h" could be found.
Rebuilding the project might help.and there is no possibility to Build the Project since the menu is disabled, see the pictures
Thank you very much for your answer , i am just a beginner on Qt and Python
Regards Carlo
   
-
Hi JonB, thank you for your answer, Yes i am using the menu Go To slot... as shown in the stack overflow.
What do you mean with : "Try removing any attempts you have made to use that feature and do it in Python code only"
i just create a simple and empty project in Qt Creator, selecting : Qt for Python - Window (UI file)
and then :
double click on form.ui , and then i pasted a button on the main form, then right mouse click by selecting Go To Slot ...
choosing an event just clicked().....
but i received the messagebox :
No documents matching "ui_form.h" could be found.
Rebuilding the project might help.and there is no possibility to Build the Project since the menu is disabled, see the pictures
Thank you very much for your answer , i am just a beginner on Qt and Python
Regards Carlo
   
@carlo-valgimigli said in No documents matching "ui_form.h" could be found:
and there is no possibility to Build the Project since the menu is disabled, see the pictures
one of the "benefits" of a scripting language, you can't build it, you can only run it!
double click on form.ui , and then i pasted a button on the main form, then right mouse click by selecting Go To Slot ...
like stated multiple times, don't use that option, thats only available for c++ version of Qt
youse the Python specific connect calls
https://doc.qt.io/qtforpython/overviews/signalsandslots.html -
Thank you very much to all , Jon and Hilk
i will follow you
now is clearRegards Carlo