Opened 9 years ago

Closed 9 years ago

#9956 closed Bug Report - General (Invalid)

old qt3support refrences causing compilation failure

Reported by: fuxxociety@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - Mythtranscode Version: 0.24-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Building latest 0.24/fixes on a gentoo system without qt3support

during compilation:

cd mythtranscode/ && make -f Makefile
make[2]: Entering directory `/home/mythtv/mythtv/mythtv/programs/mythtranscode'
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fomit-frame-pointer -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -Wmissing-declarations -D_REENTRANT -DMMX -Di386 -D_GNU_SOURCE -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include -I/usr/local -I../.. -I../../libs -I../../libs/libmyth -I../../libs/libmythtv -I../../external/FFmpeg -I../../libs/libmythupnp -I../../libs/libmythui -I../../libs/libmythlivemedia -I../../libs/libmythdb -I../../libmythhdhomerun -I../../libs/libmythdvdnav -I../../libs/libmythbluray -I../../libs/libmythsamplerate -Ireplex -I../../libs/libavcodec -I../../libs/libavformat -I../../libs/libavutil -I../../libs -I../../libs/libmythmpeg2 -I/usr/X11R6/include -I. -o main.o main.cpp
In file included from main.cpp:24:
mpeg2fix.h:31:21: error: Q3PtrList: No such file or directory
mpeg2fix.h:32:22: error: Q3PtrQueue: No such file or directory
mpeg2fix.h:33:23: error: Q3ValueList: No such file or directory
In file included from ../../libs/libmyth/virtualkeyboard_qt.h:4,
                 from ../../libs/libmyth/mythwidgets.h:28,
                 from ../../libs/libmyth/settings.h:15,
                 from ../../libs/libmythtv/recordingprofile.h:4,
                 from transcode.h:1,
                 from main.cpp:23:
../../libs/libmyth/mythdialogs.h: In static member function 'static DialogCode MythPopupBox::Show2ButtonPopup(MythMainWindow*, const QString&, const QString&, const QString&, const QString&, DialogCode)':
../../libs/libmyth/mythdialogs.h:182: warning: 'static DialogCode MythPopupBox::ShowButtonPopup(MythMainWindow*, const QString&, const QString&, const QStringList&, DialogCode)' is deprecated (declared at ../../libs/libmyth/mythdialogs.h:185)
In file included from main.cpp:24:
mpeg2fix.h: At global scope:
mpeg2fix.h:192: error: 'Q3PtrList' has not been declared
mpeg2fix.h:192: error: expected ',' or '...' before '<' token
mpeg2fix.h:196: error: ISO C++ forbids declaration of 'Q3PtrList' with no type
mpeg2fix.h:196: error: expected ';' before '<' token
mpeg2fix.h:231: error: ISO C++ forbids declaration of 'Q3PtrList' with no type
mpeg2fix.h:231: error: expected ';' before '<' token
mpeg2fix.h:234: error: ISO C++ forbids declaration of 'Q3PtrList' with no type
mpeg2fix.h:234: error: expected ';' before '<' token
mpeg2fix.h:235: error: 'Q3PtrList' was not declared in this scope
mpeg2fix.h:235: error: template argument 2 is invalid
mpeg2fix.h:235: error: expected unqualified-id before '>' token
mpeg2fix.h:236: error: ISO C++ forbids declaration of 'Q3PtrQueue' with no type
mpeg2fix.h:236: error: expected ';' before '<' token
mpeg2fix.h:237: error: ISO C++ forbids declaration of 'Q3PtrQueue' with no type
mpeg2fix.h:237: error: expected ';' before '<' token
mpeg2fix.h:238: error: ISO C++ forbids declaration of 'Q3PtrListIterator' with no type
mpeg2fix.h:238: error: expected ';' before '<' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/mythtv/mythtv/mythtv/programs/mythtranscode'
make[1]: *** [sub-mythtranscode-make_default] Error 2
make[1]: Leaving directory `/home/mythtv/mythtv/mythtv/programs'
make: *** [programs] Error 2

Change History (1)

comment:1 Changed 9 years ago by stuartm

Resolution: Invalid
Status: newclosed

This isn't really a bug, we don't claim that mythtranscode is free of Q3Support classes. Although someone is working on removing them, this doesn't prevent the code compiling with any version of QT4.

Note: See TracTickets for help on using tickets.