[unixODBC-dev] QT4 and DataManager/II

Peter Lai cowbert at gmail.com
Sat Dec 6 17:13:47 GMT 2008


yeah it's in the Makefile DEFS: -DQT_V4LAYOUT=1

Here is the error:
classCanvas.cpp: In constructor 'classCanvas::classCanvas(QWidget*,
const char*)':
classCanvas.cpp:15: error: no matching function for call to
'QLabel::QLabel(QWidget*&, const char*&)'
/usr/X11R6/include/qt4/Qt/qlabel.h:160: note: candidates are:
QLabel::QLabel(const QLabel&)
/usr/X11R6/include/qt4/Qt/qlabel.h:73: note:
QLabel::QLabel(const QString&, QWidget*, Qt::WindowFlags)
/usr/X11R6/include/qt4/Qt/qlabel.h:72: note:
QLabel::QLabel(QWidget*, Qt::WindowFlags)
gmake: *** [classCanvas.o] Error 1

On Sat, Dec 6, 2008 at 11:39 AM, Nick Gorham <nick at lurcher.org> wrote:
> Peter Lai wrote:
>
>> Yeah the macros in Makefile.in show: @@QT4_FALSE@@@@QT_TRUE@@
>>
>> If I s/QT4_FALSE/QT4_TRUE/, the builds for DataManager (at least)
>> fails with now-unsupported QTLabel calls...
>>
>>
>
> Also define QT_V4LAYOUT
>
> --
> Nick
> _______________________________________________
> unixODBC-dev mailing list
> unixODBC-dev at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
>


More information about the unixODBC-dev mailing list