On 07/10/2018 03:38 PM, Ken Moffat wrote:
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.
Agreed..

In the mid-tiume, found "my mistake"
I was using part of lxqt-0.13.0
(libqtxdg 3.2.0,libsysstat 0.4.1,lxqt-build-tools 0.5.0)
to compile libxlxqt-0.12.0

So...
-> this was not detected by cmake configuration process.
-> 0.12.0 and 0.13.0 components are not compatible.


Thansk for your help.


ĸen



--

A bientôt
===========================================================
Jean-Marc Pigeon                        E-Mail: [email protected]
SAFE Inc.                             Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
     Clement' Home base <"http://www.clement.safe.ca";>
===========================================================

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to