[mythtv-users] Raspberry Pi 5

Mike Perkins mikep at randomtraveller.org.uk
Fri Mar 1 22:59:57 UTC 2024


On 01/03/2024 22:38, James Linder wrote:
>
>
>> On Mar 1, 2024, at 20:58, Gary Buhrmaster <gary.buhrmaster at gmail.com> wrote:
>>
>> On Fri, Mar 1, 2024 at 5:59 AM James Linder <jam at tigger.ws> wrote:
>>>
>>> I want to use a Pi5 as a backend.
>>> One of the backend’s tasks is to do some logging, using a Qt5 program I wrote. Compile fails with
>>> usr/include/c++/12/bits/stl_relops.:62: Parse error at “std"
>>>
>>> Googling suggest bookworm-thats-wot-dunnit
>>
>> Sounds like QT Bug 73263:
>>    https://bugreports.qt.io/browse/QTBUG-73263
>> which is actually a moc bug.
>>
>> A common fix is to move the
>>    #include <filesystem>
>> to below the
>>   #include <QApplication>
>> or some other <Qsomething>
>> include such as <QObject>
>
> I’m not going to be so lucky :-(
>
> jam at sandypit:~/solarLogger.db $ grep include *
> grep: build: Is a directory
> main.cpp:#include <QCoreApplication>
> main.cpp:#include <QSettings>
> main.cpp:#include <QSqlDatabase>
> main.cpp:#include <QSqlQuery>
> main.cpp:#include <QSqlError>
> main.cpp:#include <QFile>
> main.cpp:#include <signal.h>
> main.cpp:#include "solarLogger.h"
> main.cpp:#include "version.h"
> Makefile: [snip]
> solarLogger.cpp:#include <QtCore>
> solarLogger.cpp:#include <QtNetwork>
> solarLogger.cpp:#include "solarLogger.h"
> solarLogger.h:#include <QObject>
> solarLogger.h:#include <QTcpSocket>
> solarLogger.h:#include <QTcpServer>
> solarLogger.h:#include <QDebug>
> solarLogger.h:#include <QTime>
> solarLogger.h:#include <QTimer>
> solarLogger.h:#include <QProcess>
> solarLogger.h:#include <QSqlQuery>
> solarLogger.h:#include <QSqlError>
>
> So I’ll try the ubuntu route. Thanks.
>
And does one of those includes above also have nested includes?

--

Mike Perkins




More information about the mythtv-users mailing list