ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Компиляция программ на QT. Как ???
Date: Mon, 4 Apr 2005 12:33:26 +0400
Message-ID: <200504041233.27107.lav@altlinux.ru> (raw)
In-Reply-To: <200504041630.31798.anterior@inbox.ru>

On Monday 04 April 2005 16:30, anterior wrote:
> Я не могу скомпилировать программу с использованием библиотеки
> QT3 на Мастере 2.2. Например, стандартный пример программы
> ../examples/qdir, выдает такое: $ g++ qdir.cpp
> -I/usr/include/linux-default/include -I/usr/lib/qt3/include
> -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/lib/qt3/lib -lqt
Насколько я понимаю, нужно
-lqt-mt

> с любимого компакта на Мастер 2.2, только по этой причине, но
> оказалось и в мастере та же ошибка. Пакеты libqt2,
А посмотреть, как сже собираются программы на qt, входящие в 
состав Мастера? :)

> libqt2-devel, libqt3, libqt3-devel, и все что с ними связано
Я бы лучше убрал libqt2, зачем путаница.

> LD_LIBRARY_PATH=$QTDIR/lib:/usr/lib/qt2/lib:$LD_LIBRARY_PATH
Может так не надо всё-таки?

> Версия qt-3.1.1, gcc/++ 2.95.3 (пробовал и с gcc 3.2, gcc
> 2.96). Как я понимаю ошибка в том что компилятор не может
Компилятор должен быть тот же, каким собрана qt

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


      parent reply	other threads:[~2005-04-04  8:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-04 12:30 anterior
2005-04-04  7:54 ` Andrey Rahmatullin
2005-04-04  8:17 ` Eugene Ostapets
2005-04-04  8:33 ` Vitaly Lipatov [this message]

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=200504041233.27107.lav@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git