From: "Евгений Ростовцев" <real.altlinux.org@gmail.com>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] Cmake не может найти QtCore
Date: Tue, 27 Dec 2011 08:33:02 +0600
Message-ID: <CAKCRA6+ze_vLtRevyu9idhcudg-fif0rBm6qTBes07gpyOYcyg@mail.gmail.com> (raw)
In-Reply-To: <1324934050.29556.1.camel@localhost.localdomain>
27.12.11, gBopHuk_alt<gbophuk_alt@mail.ru> написал(а):
> В Пнд, 26/12/2011 в 22:33 +0700, Евгений Ростовцев пишет:
>> -I%_includedir/qt4
>
> То есть в конец cmake добавить эту штуку?
Нет. Надо перед вызовом cmake добавить строчку:
%add_optflags -I%_includedir/qt4
Далее, если пользуетесь макросом %cmake, то этого и достаточно, а если
вызываете cmake напрямую, надо руками добавить в вызов параметры:
-DCMAKE_C_FLAGS="%optflags" -DCMAKE_CXX_FLAGS="%optflags"
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
ALT Linux team
next prev parent reply other threads:[~2011-12-27 2:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-26 15:17 gBopHuk_alt
2011-12-26 15:33 ` Евгений Ростовцев
2011-12-26 21:14 ` gBopHuk_alt
2011-12-27 2:33 ` Евгений Ростовцев [this message]
2011-12-27 10:02 ` gBopHuk_alt
2011-12-27 10:04 ` Евгений Ростовцев
2011-12-27 21:56 ` gBopHuk_alt
2011-12-28 2:34 ` Евгений Ростовцев
2011-12-28 7:47 ` gBopHuk_alt
2011-12-28 8:38 ` gBopHuk_alt
2011-12-28 8:48 ` Евгений Ростовцев
2011-12-28 9:13 ` gBopHuk_alt
2011-12-28 9:16 ` Евгений Ростовцев
2011-12-28 9:40 ` gBopHuk_alt
2011-12-28 9:44 ` Евгений Ростовцев
2011-12-26 16:16 ` Michael Shigorin
2012-01-13 14:27 ` gBopHuk_alt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKCRA6+ze_vLtRevyu9idhcudg-fif0rBm6qTBes07gpyOYcyg@mail.gmail.com \
--to=real.altlinux.org@gmail.com \
--cc=devel-newbies@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git