QPrinter problem QT 5.9.2 and 5.8
-
@mrjj I have tryed retyping all the pro file with all the files included but no luck.
Do you think it could be about the multiple projects ? I have my software project inside a sub-project inside an other sub-project. (My team needed multiple projects in order to have the testing project and the software and a 2nd project because our project has multiple softwares ).
In the sub project I only include the projects it gathers. Should I include qprintsupport inside that pro file ? -
If the sub projects also have .pro file
and you get the linker error in them/related to those files
then yes, you need
QT+=printsupport there also to link the module to that set of .o files. -
OK THAT WAS IT ! I had to include inside the pro files the QT += printsupport.
Thank you for helping me and sorry for taking your time. It was pretty stupid of me not to check that.
Anyway, thank you. -
@Krasnoiark
No problem at all.
I also learn something :)I had no idea you could do
$$files(*.cpp)
thx :)