Visual Studio 2015 not updating UI files
Hi,
I am new to QT, but one thing makes me problem. I use QT5 in Visual Studio 2015, and after every change to ".ui" files intellisense does not realize new or deleted controls made in qt creator. Intellisense realizes changes only after many times of project rebuild, which in huge projects may take a long time to go.
I would be glad, if someone could make help me to overcome this issue with Visual Studio 2015.
p.s. on internet I found this discussion to my issue, but did not help me anymore
http://stackoverflow.com/questions/8...-visual-studio
You to have the header updated then you can run uic manually or possibly via some menu option provided by the Qt VS Integration. - but where can I found uic.exe, or how can I force it to run?
Re: Visual Studio 2015 not updating UI files
I don't use Windows, but it sounds like Visual Studio isn't recognizing the change to the ui file and it's not running qmake. Have you tried manually running qmake after you've changed the ui file?
Re: Visual Studio 2015 not updating UI files
Thanks jefftee please where could I find qmake? I do not see it in qmake menu in Visual Studio.
My problem is primary that intellisense do not see changes – probably .h and all related files to .ui file do not get refreshed. But although intellisense do not see new/ deleted elements (e.g. button) after rebuild program GUI is updated, but intellisense not.
Re: Visual Studio 2015 not updating UI files
Visual Studio don't use qmake. I have a very bad experience with intellisense version from 2005 to 2015 - can live with that.
Re: Visual Studio 2015 not updating UI files
Quote:
Originally Posted by
pcrewik
Thanks jefftee please where could I find qmake? I do not see it in qmake menu in Visual Studio.
Sorry, I don't do windows so I can't help you with Visual Studio. The qmake binary is a key component of building/managing Qt projects. I would recommend you switch to Qt Creator where it's all integrated.