Important: Please read the Qt Code of Conduct -

Auto-Suggest doesn't work with Qt Libs.

  • I am running Qt Creator with a Qt 4.8.4 library. Although it compiles perfectly, auto-suggestion doesn't work and all of the "#include <QImage>" statements are underlined. I don't know what to do. I tried adding c:/qt/4.8.4/include with the INCLUDEPATH command in the project file, but that didn't do the trick. Is it because of the compiler I am using? What compiler should I set with Qt? I know its mingw, but what is the executable name for that compiler?

    I hope someone has an answer for I have been trying for the past 2 days to get it working. Thanks everyone.

  • Nevermind, figured it out. In the kit's section, I didn't leave the sysroot blank, which caused the problem. Hope this helps someone.

Log in to reply