Building a shared library on Qt
VitAmine last edited by A Former User
I'm trying to build a library by using some classes I got (file .h and .cpp) , I have a problem to include the classes headers to use them to create easier functions to the client
I hope it's clear for you.
if you have an idea for the problem let me know
.h file :
class MOSTBIBLIOSHARED_EXPORT MostBiblio
// example :can't instantiate file1 .....
#endif // MOSTBIBLIO_H
Diamond Platypus last edited by
Try to use INCLUDEPATH in your .pro instead, maybe your program has problem dealing with relative paths.
INCLUDEPATH=absolute path to directory of .files/include
run qmake, and try to insert your .h files
try both "include "files/flieX.h" and "flieX.h" to see if there's any kind of autocompletion, and if so, that should work
Also what is the exact error you're getting?
VitAmine last edited by
I fixed the problem, it was the path thank you.