Hi,
I have a subdirectory project that I have created in the QtCreator 2.7.1 which contains 20 sub projects (including dll’s and such)…
Everything was working great in the creator for the past couple weeks, until today, I opened up my project and none of my ui elements are being recognized in the .cpp files.
The weird thing is, everything still builds fine, but the auto completion does not work for all of the elements in my ui-> classes. Its like it is not updating its indexer.
This came about when I updated some of the ui elements in one of the projects and all the sudden ALL of the ui elements in every project are not being recognized.
I have tried recompiling, deleting all the of ui_.h files, and re running QMake, I have tried deleting all of the make files, and nothing seems to be working.
Does anyone have any ideas?
FYI: I do redirect my .moc and .ui files to a sub folder in a build folder which is all done in my .pri / .pro files
Edit: Here’s another interesting thing. My first sub project in my sub directory project is called ‘core’. When I use the ui-> autocomplete functionality in the creator in any other subproject other than ‘core’ .cpp class that has a ui header included, the autocomplete points to the ui in the ‘core’ project. That is why I am not getting any references to my different ui’s in my other subprojects… I have NO clue why all of my other projects ui files are pointing to that one mainwindow ui file in the ‘core’ project…And why the creator is not throwing errors on compile.
↧