Hi. I am currently using QAssistantClient on Windows and Linux as a help tool for my application. However, when I try to compile on Mac with XCode, I get the following errors:
error: invalid use of undefined type 'struct QAssistantClient'
error: forward declaration of 'struct QAssistantClient'
error: QAssistantClient: No such file or directory
error: invalid use of undefined type 'struct QAssistantClient'
error: forward declaration of 'struct QAssistantClient'
To copy to clipboard, switch view to plain text mode
I have installed qt-mac-opensource-4.3.2.dmg and when I comment the code related to QAssistantClient, the applications compiles and links just fine.
In the project file I have added "CONFIG += assistant" as one is supposed to. Also, doing a "find /Library/Frameworks -name qassistantclient*" on Mac, it appears the header files are installed:
/Library/Frameworks/QtAssistant.framework/Versions/4/Headers/qassistantclient.h
/Library/Frameworks/QtAssistant.framework/Versions/4/Headers/qassistantclient_global.h
/Library/Frameworks/QtAssistant.framework/Versions/4/Headers/qassistantclient.h
/Library/Frameworks/QtAssistant.framework/Versions/4/Headers/qassistantclient_global.h
To copy to clipboard, switch view to plain text mode
Is there anything else I need to specify in the project file other than "CONFIG += assistant" in order to make the compilation work on Mac?
I'm grateful for any suggestions I can get.
Bookmarks