View previous topic :: View next topic |
Author |
Message |
LordNikon9x n00b
Joined: 31 May 2005 Posts: 12 Location: Estonia
|
Posted: Thu Jan 05, 2006 5:52 pm Post subject: QT 4.1 breaks several package builds |
|
|
Hello!
QT 4.1 breaks several pacakge builds (mythtv, dbus for starters).
For some reason those do not see QT 3.x in /usr/qt/3 and use v4.1
and fail misreably. I think with v4.0.x it did not have such behavior.
For workaround, should I make binary package on build time and when I want to
update my system first remove qt4 and when done re-install qt4 from binary package?
TY in advance.. |
|
Back to top |
|
|
vladgrigorescu Guru
Joined: 11 Jan 2005 Posts: 360
|
Posted: Thu Jan 05, 2006 5:53 pm Post subject: |
|
|
I upgraded to 4.1 without any of these problems. Did you just unmask qt from ~x86, and not the problematic packages, or something like that? |
|
Back to top |
|
|
LordNikon9x n00b
Joined: 31 May 2005 Posts: 12 Location: Estonia
|
Posted: Thu Jan 05, 2006 8:09 pm Post subject: |
|
|
Quote: | Did you just unmask qt from ~x86, and not the problematic packages, or something like that? |
No. I run ACCEPT_KEYWORDS="~amd64" and so far everything "Just Works" (tm).
So, now I looked into the issue a little more than "just fails".
Code: |
../qt/qdbusmarshall.cpp:72: error: conversion from `dbus_int64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note: QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note: QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note: QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note: QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note: QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note: QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note: QVariant::QVariant(QVariant::Type) <near match>
|
In my first post I thought it was qt3 -> qt4 porting error, but dbus has qt4 support already.
The error here states that dbus_int64_t (it is declared in <dbus/dbus-arch-deps.h> and usual long datatype)
can not be used with QVariant , coz qt does not have QVariant::QVariant(long) constructor...
I think we have to wait for upstream patches or something methinks
/edit:
But qt4.0 did not had QVariant::QVariant(long) either..
Last edited by LordNikon9x on Fri Jan 06, 2006 7:16 am; edited 1 time in total |
|
Back to top |
|
|
vladgrigorescu Guru
Joined: 11 Jan 2005 Posts: 360
|
Posted: Fri Jan 06, 2006 12:05 am Post subject: |
|
|
LordNikon9x wrote: | I think we have to wait for upstream patches or something methinks |
Agreed. |
|
Back to top |
|
|
rek2 Guru
Joined: 05 Jan 2003 Posts: 477 Location: Boston USA/Barcelona Spain
|
|
Back to top |
|
|
|