From kde-edu Sun Aug 17 07:54:34 2014 From: Andreas Cord-Landwehr Date: Sun, 17 Aug 2014 07:54:34 +0000 To: kde-edu Subject: Re: Compile kiten in kf5 Message-Id: <1973732.kundnmT1F0 () weatherwax> X-MARC-Message: https://marc.info/?l=kde-edu&m=140826208318444 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1568323500523202198==" This is a multi-part message in MIME format. --===============1568323500523202198== Content-Type: multipart/alternative; boundary="nextPart2871258.Fb0DzcQFto" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart2871258.Fb0DzcQFto Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday 17 August 2014 09:14:26 Reza Shah wrote: > But when compiling i got > kiten/lib/dictionarymanager.h:27:16: fatal error: QMap: No such file or > directory Hi Reza, apparently the include dirs are noet set right. You can check this by compiling with the command "VERBOSE=1 make" and looking at the output (see the "-I" values). To solve your problem, you have to link to Qt5::Core (add this to target_link_libraries). This is actually the new way how the include directories are determined. Cheers, Andreas --nextPart2871258.Fb0DzcQFto Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

On Sunday 17 August 2014 09:14:26 Reza Shah wrote:

> But when compiling i got

> kiten/lib/dictionarymanager.h:27:16: fatal error: QMap: No such file or

> directory

 

Hi Reza,

 

apparently the include dirs are noet set right. You can check this by compiling with the command "VERBOSE=1 make" and looking at the output (see the "-I" values).

 

To solve your problem, you have to link to Qt5::Core (add this to target_link_libraries). This is actually the new way how the include directories are determined.

 

Cheers,

Andreas

--nextPart2871258.Fb0DzcQFto-- --===============1568323500523202198== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-edu mailing list kde-edu@mail.kde.org https://mail.kde.org/mailman/listinfo/kde-edu --===============1568323500523202198==--