<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Error building qt user interface under Cygwin.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">I'm using Cygwin, recent installation.</FONT>
</P>

<P><FONT FACE="Times New Roman">My VLC trunk is at revision 17737.</FONT>
</P>

<P><FONT FACE="Times New Roman">I copied the moc, rcc, and uic .exe files obtained by downloading and unpacking</FONT> <A HREF="http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/qt-win-opensource-4.2.0-mingw.exe"><U><FONT COLOR="#0000FF" FACE="Courier New">http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/qt-win-opensource-4.2.0-mingw.exe</FONT></U></A></P>

<P><FONT FACE="Courier New">I placed them in extras/contrib/bin.  I had just done a full build of extras/contrib on 12 Nov -- I had to copy those 3 files because they are not generated during the current build process.</FONT></P>

<P><FONT FACE="Courier New">I checked extras/contrib/include, see that qglobal.h in that area shows #define QT_VERSION_STR   "4.2.0-tp1"</FONT>
</P>

<P><FONT FACE="Courier New">The error when compiling modules/gui/qt is:</FONT>

<BR><FONT FACE="Courier New">In file included from dialogs/extended.cpp:29:</FONT>

<BR><FONT FACE="Courier New">./components/extended_panels.hpp:41: error: `Ui' has not been declared</FONT>

<BR><FONT FACE="Courier New">./components/extended_panels.hpp:41: error: ISO C++ forbids declaration of `Equa</FONT>

<BR><FONT FACE="Courier New">lizerWidget' with no type</FONT>

<BR><FONT FACE="Courier New">./components/extended_panels.hpp:41: error: expected `;' before "ui"</FONT>

<BR><FONT FACE="Courier New">./components/extended_panels.hpp:42: error: ISO C++ forbids declaration of `QSli</FONT>

<BR><FONT FACE="Courier New">der' with no type</FONT>

<BR><FONT FACE="Courier New">./components/extended_panels.hpp:42: error: expected `;' before '*' token</FONT>

<BR><FONT FACE="Courier New">make[6]: *** [dialogs/libqt4_plugin_a-extended.o] Error 1</FONT>
</P>

<P><FONT FACE="Courier New">The offending lines in the .hpp file are:</FONT>

<BR><FONT FACE="Courier New">{</FONT>

<BR><FONT FACE="Courier New">    Q_OBJECT</FONT>

<BR><FONT FACE="Courier New">public:</FONT>

<BR><FONT FACE="Courier New">    Equalizer( intf_thread_t *, QWidget * );</FONT>

<BR><FONT FACE="Courier New">    virtual ~Equalizer();</FONT>
</P>

<P><FONT FACE="Courier New">private:</FONT>

<BR><FONT FACE="Courier New">    Ui::EqualizerWidget ui;</FONT>

<BR><FONT FACE="Courier New">    QSlider *bands[BANDS];                       LINE 41</FONT>

<BR><FONT FACE="Courier New">    QLabel *band_texts[BANDS];                   LINE 42</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>