For the past couple days I've been unable to compile the trunk code from svn:
[ 62%] Building CXX object scribus/CMakeFiles/scribus.dir/ui/widgets/pagesizelist.cpp.o
/Scribus/scribus/ui/widgets/pagesizelist.cpp: In member function 'QIcon PageSizeList::sizePreview(QSize, QSize) const':
/Scribus/scribus/ui/widgets/pagesizelist.cpp:153:35: error: 'qApp' was not declared in this scope
153 | double devicePixelRatio = qApp->devicePixelRatio();
| ^~~~
I don't know anything for sure, but my first guess is that maybe you need a newer Qt library? (At least the Q suggests to me it is a Qt issue, and the error message indicates a declaration i missing.)
(I have never compiler Scribus myself, I just thought that since nobody else has answered I'd try to give you some input.)
Try revision 26286. I added the include.
Quote from: MrB on September 15, 2024, 12:49:59 PMTry revision 26286. I added the include.
That worked. Thanks.