On Dec 15, 2009, at 11:06 AM, ext Kobus Botha wrote: > Hi > > I just installed Qt SDK 2009.05 on Kubuntu and I can't get the code > completion and context sensitive help to work. > > I assume it is because the header files are not recognised. The include > directives are all marked as errors with the hint "No such file or > directory". I can build the project and run it. I have specified the Qt > version with a manual option (well, It asks for the QMake location): > /opt/qtsdk-2009.05/qt/bin/qmake. > > I can browse the help for all the Qt classes, but if I press F1 in the > editor on any of Qt class names, I get "No documentation available". > This is also probably related to the header files issue.
Yes, context help doesn't work if Qt Creator fails to parse the code. a) In the Qt preferences, if you select your Qt version, does it say something like "found Qt version x.y.z, using mkspec foo" ? b) Do you set this Qt version to use with your project? I.e. is it either set as "Default Qt" in the Qt preferences, or does the project explicitly uses this Qt version in the active build configuration (Projects mode, build settings, general)? -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
