Will not compile. Debian

Bug #576966 reported by courpse on 2010-05-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Low
Unassigned

Bug Description

With QT 4.6.2 and settng envirment variables for QTDIR, i keep getting all these messages,
Running Debian Lenny.

-----------
In file included from /usr/include/qt4/QtGui/QtGui:29,
                 from src/controlgroupdelegate.cpp:9:
/usr/include/qt4/QtGui/qgraphicsproxywidget.h: In member function ‘QGraphicsProxyWidgetPrivate* QGraphicsProxyWidget::d_func()’:
/usr/include/qt4/QtGui/qgraphicsproxywidget.h:116: error: invalid cast from type ‘QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >’ to type ‘QGraphicsProxyWidgetPrivate*
/usr/include/qt4/QtGui/qgraphicsproxywidget.h: In member function ‘const QGraphicsProxyWidgetPrivate* QGraphicsProxyWidget::d_func() const’:
/usr/include/qt4/QtGui/qgraphicsproxywidget.h:116: error: invalid cast from type ‘const QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >’ to type ‘const QGraphicsProxyWidgetPrivate*
In file included from /usr/include/qt4/QtScript/qscriptclass.h:46,
                 from /usr/include/qt4/QtScript/QtScript:3,
                 from src/midi/midiscriptengine.h:21,
                 from src/midi/midimapping.h:32,
                 from src/midi/midiinputmappingtablemodel.h:5,
                 from src/controlgroupdelegate.cpp:11:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptvalue.h: In member function ‘QScriptValuePrivate* QScriptValue::d_func()’:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptvalue.h:211: error: no matching function for call to ‘qGetPtrHelper(QExplicitlySharedDataPointer<QScriptValuePrivate>&)
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptvalue.h: In member function ‘const QScriptValuePrivate* QScriptValue::d_func() const’:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptvalue.h:211: error: no matching function for call to ‘qGetPtrHelper(const QExplicitlySharedDataPointer<QScriptValuePrivate>&)
In file included from /usr/include/qt4/QtScript/qscriptengine.h:55,
                 from /usr/include/qt4/QtScript/QtScript:7,
                 from src/midi/midiscriptengine.h:21,
                 from src/midi/midimapping.h:32,
                 from src/midi/midiinputmappingtablemodel.h:5,
                 from src/controlgroupdelegate.cpp:11:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptstring.h: In member function ‘QScriptStringPrivate* QScriptString::d_func()’:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptstring.h:60: error: no matching function for call to ‘qGetPtrHelper(QExplicitlySharedDataPointer<QScriptStringPrivate>&)’
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptstring.h: In member function ‘const QScriptStringPrivate* QScriptString::d_func() const’:
/usr/local/Trolltech/Qt-4.6.2/include/QtScript/qscriptstring.h:60: error: no matching function for call to ‘qGetPtrHelper(const QExplicitlySharedDataPointer<QScriptStringPrivate>&)’
/usr/include/qt4/QtCore/qshareddata.h: In copy constructor ‘QExplicitlySharedDataPointer<T>::QExplicitlySharedDataPointer(const QExplicitlySharedDataPointer<T>&) [with T = QPixmapData]’:
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qglobal.h:2043: instantiated from ‘void qSwap(T&, T&) [with T = QExplicitlySharedDataPointer<QPixmapData>]’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:290: instantiated from here
/usr/include/qt4/QtCore/qshareddata.h:149: error: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: error: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h: In destructor ‘QExplicitlySharedDataPointer<T>::~QExplicitlySharedDataPointer() [with T = QPixmapData]’:
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qglobal.h:2043: instantiated from ‘void qSwap(T&, T&) [with T = QExplicitlySharedDataPointer<QPixmapData>]’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:290: instantiated from here
/usr/include/qt4/QtCore/qshareddata.h:146: error: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: error: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h:146: warning: possible problem detected in invocation of delete operator:
/usr/include/qt4/QtCore/qshareddata.h:146: warning: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: warning: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h:146: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/usr/include/qt4/QtCore/qshareddata.h: In member function ‘QExplicitlySharedDataPointer<T>& QExplicitlySharedDataPointer<T>::operator=(const QExplicitlySharedDataPointer<T>&) [with T = QPixmapData]’:
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qglobal.h:2044: instantiated from ‘void qSwap(T&, T&) [with T = QExplicitlySharedDataPointer<QPixmapData>]’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:290: instantiated from here
/usr/include/qt4/QtCore/qshareddata.h:163: error: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: error: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h:164: error: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: error: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h:165: warning: possible problem detected in invocation of delete operator:
/usr/include/qt4/QtCore/qshareddata.h:165: warning: invalid use of incomplete type ‘struct QPixmapData’
/usr/local/Trolltech/Qt-4.6.2/include/QtGui/qpixmap.h:68: warning: forward declaration of ‘struct QPixmapData’
/usr/include/qt4/QtCore/qshareddata.h:165: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
scons: *** [linux_build/controlgroupdelegate.o] Error 1
scons: building terminated because of errors.
courpse@debian:~/Desktop/mixxx-1.8.0~beta1$

RJ Skerry-Ryan (rryan) wrote :

Hey courpse,

Did you ever get this fixed? I can't make heads or tails of it. It looks to me like your QTDIR setting is wrong or something.

Thanks,
RJ

Changed in mixxx:
status: New → Triaged
milestone: none → 1.8.0
importance: Undecided → Low
RJ Skerry-Ryan (rryan) wrote :

Courpse says it was a Debian Lenny issue, closing.

Changed in mixxx:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers