[mythtv] [mythtv-commits] Ticket #2594: Add multiselect configuration control

John P Poet jppoet at gmail.com
Thu Oct 19 05:43:33 UTC 2006


On 10/18/06, John P Poet <jppoet at gmail.com> wrote:
> On 10/18/06, MythTV <mythtv at cvs.mythtv.org> wrote:
> > #2594: Add multiselect configuration control
> > -------------------------------------------+--------------------------------
> >  Reporter:  mythtv at dadeos.freeserve.co.uk  |       Owner:  ijr
> >      Type:  enhancement                    |      Status:  new
> >  Priority:  minor                          |   Milestone:  unknown
> > Component:  mythtv                         |     Version:  head
> >  Severity:  medium                         |
> > -------------------------------------------+--------------------------------
> >  This patch expands the functionality of the SelectSetting class in order
> >  to provide multi-select capability.
> >
> <snip>
> >
> >  All of the other changes were required in order to overcome "SetValue()"
> >  becoming private.
>
> This looked interesting enough, that I decided to give it a try.
> Unfortunately, it will not compile for me:
>
> g++ -c -pipe -march=pentium4 -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT  -DMMX -Di386 -DUSING_FREEBOX
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DLIBDIR=\"/usr/local/lib\" -DUSING_XV -DUSING_XRANDR
> -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
> -I/usr/include -I../.. -I../../libs -I../../libs/libmyth
> -I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat
> -I../../libs/libavcodec -I../../libs/libmythupnp
> -I../../libs/libmythui -I../../libs/libmythlivemedia
> -I/usr/lib/qt-3.3/include -o globalsettings.o globalsettings.cpp
> /usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: 'class
> QSqlDriverCreatorBase' has virtual functions but non-virtual
> destructor
> ../../libs/libmyth/settings.h: In function 'HostComboBox*
> GuiVidModeResolution()':
> ../../libs/libmyth/settings.h:391: error: 'virtual void
> SelectSetting::setValue(const QString&)' is private
> globalsettings.cpp:1640: error: within this context
> globalsettings.cpp:1640: error: invalid conversion from 'unsigned int'
> to 'const char*'
> globalsettings.cpp:1640: error:   initializing argument 1 of
> 'QString::QString(const char*)'
> make[2]: *** [globalsettings.o] Error 1
> make[2]: Leaving directory
> `/home/john/src/Myth/061018/mythtv/programs/mythfrontend'


I commented out the setValue() in *GuiVidModeResolution(), and then it
compiled up just fine.

John


> > --
> > Ticket URL: <http://svn.mythtv.org/trac/ticket/2594>
> > MythTV <http://www.mythtv.org/>
> > MythTV
> > _______________________________________________
> > mythtv-commits mailing list
> > mythtv-commits at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
> >
>


More information about the mythtv-dev mailing list