On Tue, Jul 10, 2018 at 09:52:09AM -0400, Jean-Marc Pigeon wrote: > Hello, > > > I am unable to compile liblxqt-0.12.0 > > > lxqtplugininfo.cpp:107:14: > error: expected primary-expression before 'const' > > foreach (const QString &desktopFilesDir, desktopFilesDirs) > > > It seems all liblxqt code like: > > foreach (const atype &variable, list) > > need to be changed to: > > for (const atype &variable: list) > > > Such change have been made in liblxqt-0.13.0 > (I am reluctant to jump to 0.13.0 now, because of > heavy dependancy with polkit). > > Could someone propose an explaination why > foreach syntaxe is not accepted? > cmake version?, > cmake macro missing?? > liblxqt 0.12.0 not compatible with 2018-07-09? > > > Many thanks for advices.
A quick google for 'lxqt foreach' suggested a different reason: deprecated by QT. https://github.com/lxqt/lxqt/issues/1325 Looks as if the version upgrade is now required. ĸen -- Keyboard not found, Press F1 to continue -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
