I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
Cheers, -- Tarjei
Hi,
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
AIUI, the problem is not so much Qt, but the KDE stuff that relies on the 3.x version of Qt.
Personally, I'd compile it from source, shove it into /opt or somewhere like that and link to that version. It doesn't look like Qt 4 will be FC5 either as the next KDE hasn't emerged yet.
TTFN
Paul
Paul F. Johnson schrieb:
Hi,
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
AIUI, the problem is not so much Qt, but the KDE stuff that relies on the 3.x version of Qt.
Personally, I'd compile it from source, shove it into /opt or somewhere like that and link to that version. It doesn't look like Qt 4 will be FC5 either as the next KDE hasn't emerged yet.
TTFN
Paul
I have build me an spec file to generate RPM packakes. I have installed it into /usr/lib/qt4.1.0. And I have no problems with it.
Tarjei Knapstad wrote:
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
I was thinking about it to, but lack of time...
Regardless, if anyone does come up with anything, please submit the qt4 pkg(s) to Fedora Extras or here, if you're not up to it (and I'll see about the FE submission in that case)
-- Rex
Tarjei Knapstad wrote:
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
there's Qt4 srpm on ftp://people.red/hat.com/than/rawhide. You can download it and do a rebuild for FC4.
Than
Than Ngo schrieb:
Tarjei Knapstad wrote:
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
there's Qt4 srpm on ftp://people.red/hat.com/than/rawhide. You can download it and do a rebuild for FC4.
Than
or take this for Qt 4.1.0
%define smp 1 %define FEDORA FC4
summary: Die Qt4 Bibliothek name: qt4 Version: 4.1.0 release: 1.%FEDORA license: GPL packager: Frank Büttner frank-buettner@gmx.net Vendor: Trolltech URL:http://www.trolltech.com group: System Environment/Libraries source0: qt-x11-opensource-src-%{version}.tar.gz buildRoot: /tmp/%{name}-buildroot
%description Qt ist ein GUI-Software-Toolkit, das das Schreiben und Verwalten von GUI-Anwendungen für das X Window System vereinfacht. Qt ist in C++ geschrieben und vollständig objektorientiert.
%package devel group: Development/Libraries Summary: Dateien um Qt Programme zu übersetzen
%description devel Enthält die Header und Tools um Qt Programm zu übersetzen.
%package tools group: Development/Tools Summary: Zubehör
%description tools Enthält den Designer sowie den Linguist.
%package doc group: Documentation Summary: Qt Doku
%description doc Enthält die Qt Dokumentation als HTML.
%package ODBC group: System Environment/Libraries Summary: Datenbanktreiber
%description ODBC Enthält den ODBC Datenbanktreiber
%package MySQL group: System Environment/Libraries Summary: Datenbanktreiber
%description MySQL Enthält den MySQL Datenbanktreiber.
%package PostgreSQL group: System Environment/Libraries Summary: Datenbanktreiber
%description PostgreSQL Enthält den PostgeSQL Datenbanktreiber.
%package SQLite group: System Environment/Libraries Summary: Datenbanktreiber
%description SQLite Enthält den SQLite Datenbanktreiber.
%package qt3support group: System Environment/Libraries Summary: Qt3 Support Bibliothek
%description qt3support Enthält die Qt3 Support Bibliothek um Qt3 Programm unter Qt4 zu übersetzen Von der Benutzung wird abgeraten.
%package config group: User Interface/Desktops Summary: Konfiguriert Qt
%description config Enthält das grafische Konfigurationsprogramm um Qt zu konfigurieren.
%package translation group: System Environment/Libraries Summary: Qt Übersetzungen
%description translation Enthält Übersetzungen für die Qt Dialoge.
%prep %setup -n qt-x11-opensource-src-%{version}
%build %if %{smp} export SMP_MFLAGS="%{?_smp_mflags}" %endif unset QTDIR #Compiler Flags setzen perl -pi -e "s|-O2|$INCLUDES $RPM_OPT_FLAGS|g" mkspecs/*/qmake.conf # -no-qt3support echo yes | ./configure -prefix /usr/lib/Qt-%{version} \ -release -fast -no-exceptions\ -plugin-sql-mysql -plugin-sql-odbc -plugin-sql-psql \ -plugin-sql-sqlite -v -nis -cups -I/usr/include/mysql make $SMP_MFLAGS -j3 sub-src make $SMP_MFLAGS -j3 sub-tools
%install rm -rf $RPM_BUILD_ROOT make INSTALL_ROOT=$RPM_BUILD_ROOT sub-src-install_subtargets make INSTALL_ROOT=$RPM_BUILD_ROOT sub-tools-install_subtargets make INSTALL_ROOT=$RPM_BUILD_ROOT install_qmake make INSTALL_ROOT=$RPM_BUILD_ROOT install_mkspecs make INSTALL_ROOT=$RPM_BUILD_ROOT install_htmldocs make INSTALL_ROOT=$RPM_BUILD_ROOT install_translations
#Symbole enrferen /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/lib/*.%{version} /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/plugins/sqldrivers/* /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/plugins/imageformats/* /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/plugins/accessible/* /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/plugins/designer/* /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/plugins/codecs/* /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/qt3to4 /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/uic3 /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/assistant /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/lupdate /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/lrelease /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/moc /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/qmake /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/qm2ts /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/rcc /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/uic /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/designer /usr/bin/strip -s $RPM_BUILD_ROOT/usr/lib/Qt-%{version}/bin/linguist
%clean rm -rf $RPM_BUILD_ROOT
%files %defattr(755,root,root) /usr/lib/Qt-%{version}/lib/libQtCore* /usr/lib/Qt-%{version}/lib/libQtGui* /usr/lib/Qt-%{version}/lib/libQtNetwork* /usr/lib/Qt-%{version}/lib/libQtOpenGL* /usr/lib/Qt-%{version}/lib/libQtSql* /usr/lib/Qt-%{version}/lib/libQtXml* /usr/lib/Qt-%{version}/lib/libQtSvg* /usr/lib/Qt-%{version}/lib/libQtAssistantClient* /usr/lib/Qt-%{version}/lib/*.pc /usr/lib/Qt-%{version}/plugins/codecs/* /usr/lib/Qt-%{version}/plugins/imageformats/* /usr/lib/Qt-%{version}/plugins/accessible/*
%files qt3support %defattr(755,root,root) /usr/lib/Qt-%{version}/lib/libQt3Support* /usr/lib/Qt-%{version}/bin/qt3to4 /usr/lib/Qt-%{version}/bin/uic3 /usr/lib/Qt-%{version}/q3porting.xml
%files devel %defattr(755,root,root) /usr/lib/Qt-%{version}/lib/libQtTest* /usr/lib/Qt-%{version}/include/* /usr/lib/Qt-%{version}/mkspecs/* /usr/lib/Qt-%{version}/bin/assistant /usr/lib/Qt-%{version}/bin/lrelease /usr/lib/Qt-%{version}/bin/moc /usr/lib/Qt-%{version}/bin/qm2ts /usr/lib/Qt-%{version}/bin/qmake /usr/lib/Qt-%{version}/bin/rcc /usr/lib/Qt-%{version}/bin/uic
%files tools %defattr(755,root,root) /usr/lib/Qt-%{version}/bin/linguist /usr/lib/Qt-%{version}/bin/lupdate /usr/lib/Qt-%{version}/bin/designer /usr/lib/Qt-%{version}/lib/libQtDesigner* /usr/lib/Qt-%{version}/phrasebooks/* /usr/lib/Qt-%{version}/plugins/designer/*
%files doc %defattr(444,root,root) /usr/lib/Qt-%{version}/doc/*
%files ODBC %defattr(755,root,root) /usr/lib/Qt-%{version}/plugins/sqldrivers/libqsqlodbc.so
%files MySQL %defattr(755,root,root) /usr/lib/Qt-%{version}/plugins/sqldrivers/libqsqlmysql.so
%files PostgreSQL %defattr(755,root,root) /usr/lib/Qt-%{version}/plugins/sqldrivers/libqsqlpsql.so
%files SQLite %defattr(755,root,root) /usr/lib/Qt-%{version}/plugins/sqldrivers/libqsqlite.so
%files config %defattr(755,root,root) /usr/lib/Qt-%{version}/bin/qtconfig
%files translation %defattr(444,root,root) /usr/lib/Qt-%{version}/translations/*
%changelog * Fri Jan 27 2006 Frank Büttner frank-buettner@gmx.net - An Qt 4.1 angepasst - -j3 bei make eingefügt * Sun Nov 20 2005 Frank Büttner frank-buettner@gmx.net - Start
Than Ngo wrote:
Tarjei Knapstad wrote:
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
there's Qt4 srpm on ftp://people.red/hat.com/than/rawhide. You can download it and do a rebuild for FC4.
It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
-- Rex
Rex Dieter wrote:
Than Ngo wrote:
Tarjei Knapstad wrote:
I'm about to start some development work using Qt 4. Before I embark on building my own, does anyone know of Qt4 RPMs for FC4 that does not conflict with the 3.x version in the distro?
there's Qt4 srpm on ftp://people.red/hat.com/than/rawhide. You can download it and do a rebuild for FC4.
It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
-- Rex
the new qt4-4.1.0-0.1.src.rpm should be ok now. You should please try again.
Than
On 1/30/06, Than Ngo than@redhat.com wrote:
Rex Dieter wrote:
Than Ngo wrote: It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
the new qt4-4.1.0-0.1.src.rpm should be ok now. You should please try again.
MD5 checks out fine now, and the package builds cleanly (after disabling the modular x switch in the spec on FC4).
Ran into a weird problem though. When running Qt designer my screen just went black (except for the mouse pointer) whenever the Qt Designer window got focus. What gives? I checked with ldd that the designer binary was linked to the correct qt libs. I'm using the nvidia binary drivers, but can't see why that would matter here? Switching to a console and killing the process brought everything back to normal. The Xorg log says:
(WW) Open APM failed (/dev/apm_bios) (No such file or directory) (II) Mouse0: ps2EnableDataReporting: succeeded
APM?? Has anyone else built the package and ran designer successfully?
Regards, -- Tarjei
Tarjei Knapstad schrieb:
On 1/30/06, Than Ngo than@redhat.com wrote:
Rex Dieter wrote:
Than Ngo wrote: It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
the new qt4-4.1.0-0.1.src.rpm should be ok now. You should please try again.
MD5 checks out fine now, and the package builds cleanly (after disabling the modular x switch in the spec on FC4).
Ran into a weird problem though. When running Qt designer my screen just went black (except for the mouse pointer) whenever the Qt Designer window got focus. What gives? I checked with ldd that the designer binary was linked to the correct qt libs. I'm using the nvidia binary drivers, but can't see why that would matter here? Switching to a console and killing the process brought everything back to normal. The Xorg log says:
(WW) Open APM failed (/dev/apm_bios) (No such file or directory) (II) Mouse0: ps2EnableDataReporting: succeeded
APM?? Has anyone else built the package and ran designer successfully?
Regards,
Tarjei
I have build my own rpm package. I can send the specfile. when needed.
Than Ngo wrote:
Rex Dieter wrote:
It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
the new qt4-4.1.0-0.1.src.rpm should be ok now. You should please try again.
Thanks. If there are no objections, I'll clean it up a bit and submit this to Fedora Extras (fc4-only for now, not sure about fc5 status).
-- Rex
On 1/31/06, Rex Dieter rdieter@math.unl.edu wrote:
Than Ngo wrote:
Rex Dieter wrote:
It appears to be corrupted: I repeated several times): wget ftp://people.redhat.com/than/rawhide/qt4-4.1.0-0.1.src.rpm rpm -K qt4-4.1.0-0.1.src.rpm: sha1 MD5 NOT OK
the new qt4-4.1.0-0.1.src.rpm should be ok now. You should please try again.
Thanks. If there are no objections, I'll clean it up a bit and submit this to Fedora Extras (fc4-only for now, not sure about fc5 status).
Good stuff Rex!
Out of curiosity, did you experience any of the black screen problems I was having with my own build of that SRPM?
-- Tarjei
Tarjei Knapstad wrote:
On 1/31/06, Rex Dieter rdieter@math.unl.edu wrote:
Thanks. If there are no objections, I'll clean it up a bit and submit this to Fedora Extras (fc4-only for now, not sure about fc5 status).
Good stuff Rex!
Out of curiosity, did you experience any of the black screen problems I was having with my own build of that SRPM?
Haven't actually *used* it yet, so no comment, for now. (-:
-- Rex
On 2/1/06, Rex Dieter rdieter@math.unl.edu wrote:
Tarjei Knapstad wrote:
On 1/31/06, Rex Dieter rdieter@math.unl.edu wrote:
Out of curiosity, did you experience any of the black screen problems I was having with my own build of that SRPM?
Haven't actually *used* it yet, so no comment, for now. (-:
:)
A small update on the matter: Turns out I wasn't using the binary nvidia driver after all, but the "nv" driver that comes with xorg. When switching back to nvidia's driver it works perfectly fine...
If anyone with an nvidia card could try to replicate when you get the RPM into Extras that would be nice. I could do some more testing myself, but I really have no clue how to debug this any further...
Guess we should move this to fedora-devel in any case, alternatively the bugzilla entry in Extras. I'll wait for the package to hit either rawhide or extras, whichever comes first.
-- Tarjei
Tarjei Knapstad schrieb:
On 2/1/06, Rex Dieter rdieter@math.unl.edu wrote:
Tarjei Knapstad wrote:
On 1/31/06, Rex Dieter rdieter@math.unl.edu wrote:
Out of curiosity, did you experience any of the black screen problems I was having with my own build of that SRPM?
Haven't actually *used* it yet, so no comment, for now. (-:
:)
A small update on the matter: Turns out I wasn't using the binary nvidia driver after all, but the "nv" driver that comes with xorg. When switching back to nvidia's driver it works perfectly fine...
If anyone with an nvidia card could try to replicate when you get the RPM into Extras that would be nice. I could do some more testing myself, but I really have no clue how to debug this any further...
Guess we should move this to fedora-devel in any case, alternatively the bugzilla entry in Extras. I'll wait for the package to hit either rawhide or extras, whichever comes first.
-- Tarjei
I have no problems with Qt4 and the nvidia driver from nvidia. But I have build my own RPM package of Qt4 for Fedora.
On 2/2/06, Hans Müller ndof@gmx.li wrote:
Tarjei Knapstad schrieb:
On 2/1/06, Rex Dieter rdieter@math.unl.edu wrote:
Tarjei Knapstad wrote:
A small update on the matter: Turns out I wasn't using the binary nvidia driver after all, but the "nv" driver that comes with xorg. When switching back to nvidia's driver it works perfectly fine...
I have no problems with Qt4 and the nvidia driver from nvidia. But I have build my own RPM package of Qt4 for Fedora.
Hi Hans,
Yes, it's working with the driver from nvidia here as well, but it's not working with the nvidia driver that comes with X.org. If you could be bothered, try switching drivers from "nvidia" to "nv" in the Device section of your /etc/X11/xorg.conf and see if it all goes pear shaped as in my case.
Cheers, -- Tarjei