[vlc-devel] compilation against libqt4.3 broken

Dominique Leuenberger dominique-ffmpeg-devel at leuenberger.net
Tue Mar 10 12:06:56 CET 2009


Hi,

since recently GIT Master can no longer be compiled against libqt4.3.  
Was that an intentional decision or just 'an accident' ?

Qt 4.3 is still wide spread in distributions officially under support.  
(openSUSE 10.3 for example).

The build log ends with:
  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include  
-I../../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98  
-D_LARGEFILE64_SOUR
CE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__  
-D__PLUGIN__ -DMODULE_NAME=qt4 -DMODULE_NAME_IS_qt4  
-DMODULE_STRING=\"qt4\" -O4 -ffa
st-math -funroll-loops -mtune=athlon64 -fomit-frame-pointer  
-DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtGui  
-DQT4LOCALEDIR=\"/usr/share/
qt4/translations/\" -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2  
-fstack-protector -O2 -g -c dialogs_provider.cpp  -fPIC -DPIC -o  
.libs/libqt4_
plugin_la-dialogs_provider.o
In file included from dialogs/sout.hpp:33,
                  from dialogs_provider.cpp:46:
./ui/sout.h:34:28: error: qplaintextedit.h: No such file or directory
In file included from ../../../include/vlc_common.h:496,
                  from qt4.hpp:32,
                  from dialogs_provider.cpp:31:
../../../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
In file included from dialogs_provider.cpp:34:
menus.hpp: In constructor 'MenuFunc::MenuFunc(QMenu*, int)':
menus.hpp:166: warning: 'MenuFunc::menu' will be initialized after
menus.hpp:165: warning:   'int MenuFunc::id'
menus.hpp:151: warning:   when initialized here
In file included from dialogs/sout.hpp:33,
                  from dialogs_provider.cpp:46:
./ui/sout.h: At global scope:
./ui/sout.h:45: error: ISO C++ forbids declaration of 'QPlainTextEdit'  
with no type
./ui/sout.h:45: error: expected ';' before '*' token
./ui/sout.h: In member function 'void Ui_Sout::setupUi(QWidget*)':
./ui/sout.h:102: error: 'helpEdit' was not declared in this scope
./ui/sout.h:102: error: expected type-specifier before 'QPlainTextEdit'
./ui/sout.h:102: error: expected `;' before 'QPlainTextEdit'
make[6]: *** [libqt4_plugin_la-dialogs_provider.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'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory  
`/usr/src/packages/BUILD/vlc-beta-1.0.0/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory  
`/usr/src/packages/BUILD/vlc-beta-1.0.0/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ usr/src/packages/BUILD/vlc-beta-1.0.0/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-1.0.0'
make: *** [all] Error 2


Best regards,
Dominique



More information about the vlc-devel mailing list