problem with plugin building
Hello everyone, glad to meet you on this forum,
I have a problem with plugin compilation on ubuntu, once I try to build a plugin using a script below, I've got a message:
"fatal error: utils/wizardpage.h: No such file or directory
Script for compilation:
$QMAKE_PATH/qmake -r CONFIG+=system-qtcreator $TOOLS_ROOT/tools.pro
As you can see, I selected for QTC_SOURCE a path, wich certainly contains a Utils.so lib, what I am doing wrong ?
Hi and welcome to devnet,
The current error is that
wizardpage.his not found. You should check your include paths.
INCLUDEPATH was in .pro file
it should take wizardpage.h from there
@Gutalin Did you check where exactly this header file is located?
yes, it is located in /home/sources/qt-creator-src-4.7.1/src/libs/utils/wizardpage.h
why should I specify the whole path ? It should find the path by itsef because the right folder is selected
Take a closer look at this location: you do not add it to INCLUDEPATH
n: you do not add it to INCLUDEPAT
even if I specify the whole path
it doesn't change anything
could you please help me, what I'm doing wrong?
@Gutalin Not the whole path, only ~/sources/qt-creator-src-4.7.1/src/libs
Take a look at how the header file is included:
So, "utils" is already part of the include, no need to have it in INCLUDEPATH.