Friday, May 31, 2013

Qt Creator qmake compile error uic: unexpected attribute alignment

After adding an ui file to my Qt Project, it did not compile any more. I received a compiler error message like uic: Error in line 51, column 41 : Unexpected attribute alignment

which then resulted into the error message:
jom: D:\MyProjectBuildDirectory\Makefile [debug] Error 2

How i fixed it:
I found out, that the problem was related to the Qt framework version 4.7.1 i used on my (Win8, 64bit) computer.
I updated to Version 4.8.4 and everything was fine again.

No comments:

Post a Comment