Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

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

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


jppoet at gmail

Oct 18, 2006, 9:23 PM

Post #1 of 2 (750 views)
Permalink
Re: [mythtv-commits] Ticket #2594: Add multiselect configuration control

On 10/18/06, MythTV <mythtv [at] cvs> wrote:
> #2594: Add multiselect configuration control
> -------------------------------------------+--------------------------------
> Reporter: mythtv [at] dadeos | 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'


svn Revision: 11578
Fedora Core 5:
Linux jade 2.6.17.11 #1 SMP Fri Aug 25 18:12:37 MDT 2006 i686 i686
i386 GNU/Linux
g++ (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)

John

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


jppoet at gmail

Oct 18, 2006, 10:43 PM

Post #2 of 2 (711 views)
Permalink
Re: [mythtv-commits] Ticket #2594: Add multiselect configuration control [In reply to]

On 10/18/06, John P Poet <jppoet [at] gmail> wrote:
> On 10/18/06, MythTV <mythtv [at] cvs> wrote:
> > #2594: Add multiselect configuration control
> > -------------------------------------------+--------------------------------
> > Reporter: mythtv [at] dadeos | 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
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
> >
>
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.