Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Qt4 and qmake

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

Qt4 and qmake

  • Quote

Post by senu » Wed May 11, 2005 5:11 pm

hi
i have problem with qmake:

Code: Select all

senu@entropia ~/cpp/sfas $ qmake -project
Unable to find a Qt configuration.
sys.spec:

Code: Select all

senu@entropia ~/cpp/sfas $ cat /proc/version
Linux version 2.6.11-rc1-vv_e4 (root@entropia) (gcc version 3.3.5
(Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #2 Thu Jan 20 20:59:3

Code: Select all

senu@entropia /lib $ ./libc.so.6
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.5 (Gentoo Linux 3.3.5-r1,
ssp-3.3.2-3, pie-8.7.7.1).
Compiled on a Linux 2.6.8 system on 2005-03-20.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
The C stubs add-on version 2.1.2.
GNU Libidn by Simon Josefsson
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.

Code: Select all

entropia lib # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-rc1-vv_e4 i686)
=================================================================
System uname: 2.6.11-rc1-vv_e4 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 8 2005,
02:37:54)]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa apm audiofile avi berkdb bitmap-fonts
bzip2 cdr crypt cscope ctype curl dio directfb docs emacs emboss
encode esd fam foomaticdb fortran gdbm gif gnome gnutls gpm
gstreamer gtk gtk2 imlib imlib2 ipv6 jabber java jikes jpeg junit
kde libg++ libww libwww mad mikmod mmx motif mozilla mp3 mpeg mysql
ncurses nls ogg oggvorbis opengl oss pam pdflib perl png posix
python qt quicktime readline sdl slang spell sqlite ssl svg svga
szip tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis
xml xml2 xmms xosd xpm xv zlib linguas_pl userland_GNU kernel_linux
elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS

Code: Select all

* x11-libs/qt
Latest version available: 4.0.0_beta2-r1
Latest version installed: 4.0.0_beta2-r1


google:
http://www.google.pl/search?hl=pl&q=%22 ... Szukaj&lr=
there is no issue on bugs.gentoo.org too


tia
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Wed May 11, 2005 6:47 pm

Pehaps you need to set the QTDIR variable.
Top
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

  • Quote

Post by senu » Wed May 11, 2005 8:53 pm

i ve tried
/usr/qt/3/
and
/usr/share/qt4/

any ideas?
Top
Dr. Z
n00b
n00b
Posts: 30
Joined: Fri Nov 19, 2004 2:56 am

  • Quote

Post by Dr. Z » Wed May 11, 2005 11:38 pm

Does the file mkspecs/linux-g++/qmake.conf exist in either of these directories?
senu wrote:i ve tried
/usr/qt/3/
and
/usr/share/qt4/

any ideas?
Top
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

  • Quote

Post by senu » Thu May 12, 2005 1:43 pm

Code: Select all

senu@entropia /usr/share/qt4 $ find
.
./phrasebooks
./phrasebooks/norwegian.qph
./phrasebooks/german.qph
./phrasebooks/spanish.qph
./phrasebooks/swedish.qph
./phrasebooks/danish.qph
./phrasebooks/finnish.qph
./phrasebooks/dutch.qph
./phrasebooks/italian.qph
./phrasebooks/french.qph
./phrasebooks/russian.qph
./mkspecs
./mkspecs/features
./mkspecs/features/unix
./mkspecs/features/unix/x11.prf
./mkspecs/features/unix/x11sm.prf
./mkspecs/features/unix/x11lib.prf
./mkspecs/features/unix/hide_symbols.prf
./mkspecs/features/unix/largefile.prf
./mkspecs/features/unix/dylib.prf
./mkspecs/features/unix/opengl.prf
./mkspecs/features/unix/x11inc.prf
./mkspecs/features/unix/thread.prf
./mkspecs/features/static_and_shared.prf
./mkspecs/features/default_pre.prf
./mkspecs/features/link_pkgconfig.prf
./mkspecs/features/qtopialib.prf
./mkspecs/features/dll.prf
./mkspecs/features/warn_off.prf
./mkspecs/features/debug.prf
./mkspecs/features/release.prf
./mkspecs/features/shared.prf
./mkspecs/features/debug_and_release.prf
./mkspecs/features/qt_config.prf
./mkspecs/features/build_pass.prf
./mkspecs/features/moc.prf
./mkspecs/features/staticlib.prf
./mkspecs/features/resources.prf
./mkspecs/features/uic.prf
./mkspecs/features/warn_on.prf
./mkspecs/features/qt.prf
./mkspecs/features/designer.prf
./mkspecs/features/static.prf
./mkspecs/features/qtopiainc.prf
./mkspecs/features/default_post.prf
./mkspecs/features/assistant.prf
./mkspecs/features/qtopia.prf
./mkspecs/features/exclusive_builds.prf
./mkspecs/linux-g++
./mkspecs/linux-g++/qplatformdefs.h
./mkspecs/linux-g++/qmake.conf
./q3porting.xml
qt/3 is much bigger so just ls

Code: Select all

senu@entropia /usr/qt/3 $ ls
.  ..  bin  doc  etc  include  lib  mkspecs  plugins  .qmake.cache  tools  translations

senu@entropia /usr/qt/3 $ find |grep qmake.conf 
./mkspecs/linux-g++/qmake.conf
Top
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

  • Quote

Post by senu » Fri May 13, 2005 5:08 pm

any ideas?
Top
Husky
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Thu Oct 23, 2003 12:23 pm

  • Quote

Post by Husky » Fri May 13, 2005 5:38 pm

you have to move all qt4 binaries(qmake, uic, designer etc.) from /usr/bin in an other directory because they are befor the qt3 binaries in the path.
Top
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

  • Quote

Post by senu » Fri May 13, 2005 7:34 pm

Husky wrote:you have to move all qt4 binaries(qmake, uic, designer etc.) from /usr/bin in an other directory because they are befor the qt3 binaries in the path.
errr...
but when i move them, i ll be using /usr/qt/3/bin/*. but i want to use Qt 4 features not qt3, so i dont need qt3make. i need qt4make which is in /usr/bin but it isn't working.
Top
Husky
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Thu Oct 23, 2003 12:23 pm

  • Quote

Post by Husky » Sat May 14, 2005 4:10 pm

i get this error only when i try to compile a qt3 based app with qt4 accidently. are you shure you need qt4 for this programm?
Top
senu
n00b
n00b
User avatar
Posts: 31
Joined: Sat Oct 02, 2004 7:35 am
Location: /dev/urandom

  • Quote

Post by senu » Thu May 19, 2005 1:25 pm

yes, because i want to try Qt4 (i am programmer)
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic