[vlc-devel] RE : Qt 4.3 broken again

brezhoneg1 brezhoneg1 at yahoo.fr
Thu Mar 26 11:35:20 CET 2009


Hi,

   I too still use QT4.3

   If that can help, please find attached the patch I use to work around
the problem you mention.

   Actually, in QT4.3, uic hardcodes gridLayout names (pattern is
gridLayout, gridLayout1, gridLayout2, .... ).

   It seems newer versions of uic are smarter and use the name
attribute.

   This patch has been made so that it should be valid for all QT4
versions.
   Yet, it was only tested with QT4.3. (non-regression tests needed for
later version of QT4 before applying it in git master)

Erwan10 


> -----Message d'origine-----
> De : vlc-devel-bounces at videolan.org [mailto:vlc-devel-
> bounces at videolan.org] De la part de Dominique Leuenberger
> Envoyé : jeudi 26 mars 2009 08:34
> À : vlc-devel at videolan.org
> Objet : [vlc-devel] Qt 4.3 broken again
> 
> Hi,
> 
> Just to let you know, I think compiling against Qt 4.3 is broken
> again. Master from yesterday evening gave on my build bot:
> 
>   g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include
> -I../../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=
> 64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE
> -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN
> __ -DMODULE_NAME=qt4 -DMODULE_NAME_IS_qt4 -DMODULE_STRING=\"qt4\" -O4
> -ffast-math -funroll-loops -mtune=at
> hlon64 -fomit-frame-pointer -DQT_SHARED -I/usr/include/QtCore
> -I/usr/include/QtGui -DQT4LOCALEDIR=\"/usr/s
> hare/qt4/translations/\" -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -O2 -g -c componen
> ts/open_panels.cpp  -fPIC -DPIC -o
> components/.libs/libqt4_plugin_la-open_panels.o
> In file included from ../../../include/vlc_common.h:496,
>                   from ./qt4.hpp:32,
>                   from components/open_panels.cpp:33:
> ../../../include/vlc_mtime.h:79: warning: 'error' attribute directive
> ignored
> ../../../include/vlc_mtime.h:89: warning: 'warning' attribute
> directive ignored
> ../../../include/vlc_mtime.h:107: warning: 'error' attribute directive
> ignored
> components/open_panels.cpp: In member function 'void
> FileOpenPanel::BuildOldPanel()':
> components/open_panels.cpp:152: error: 'class Ui::OpenFile' has no
> member named 'gridLayout_3'
> make[6]: *** [components/libqt4_plugin_la-open_panels.lo] Error 1
> make[6]: Leaving directory
> `/usr/src/packages/BUILD/vlc-beta-1.0.0/modules/gui/qt4'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory
> `/usr/src/packages/BUILD/vlc-beta-1.0.0/modules/gui/qt4'
> 
> 
> Best wishes,
> Dominique
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-correct-a-compilation-error-specific-to-QT4.3.patch
Type: application/octet-stream
Size: 2201 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090326/41e93f45/attachment.obj>


More information about the vlc-devel mailing list