error: no member named 'addWidget' in 'QFrame'
-
what is having two projects with same name...?
In the first try alone I make two files ui
mainwindow.ui
mainwindow2.uiafter I opened the project from book code files
well????
@lse123
Im not sure what you mean but if
the projects are in different folder, its not an issue that
they have same names.But you really didnt answer if you did anything to the files after download as they do compile fine here?
So if you are not using the project as it, please tell what you do.
-
the file structure is above --- because I think i have also and VS created a new file only but in Qt not seem.
well?still getting
:-1: error: dependent '..\Chapter09\mainwindow.ui' does not exist.
well?@lse123 I can build Chapter09 without issues - but I only opened Chapter09 project. But I noticed that there is Webcam.pro.user after git clone - this should not be part of the repository!
Try to delete Webcam.pro.user file, delete build directory and rebuild. -
I also went update Qt Creator --- but stays on 0% Do Not download anything for the update even for 20+ min... after I stopped it...
@lse123 said in error: no member named 'addWidget' in 'QFrame':
but stays on 0%
Do you use Qt Maintenance Tool?
-
I would try to change the mirror, you might be hitting a faulty one.
-
@lse123 There is this tool you can use to change the mirror: https://github.com/JKSH/QtSdkRepoChooser
-
@lse123
Hi
you can also download offline installer
https://www.qt.io/offline-installers
Its bigger up front download but the same things that gets installed. -