Am Thu, 11 Mar 2021 12:27:50 -0500
schrieb Richard Kimberly Heck <rikih...@lyx.org>:

> > Trying to adapt cmake to qt6, I get compile errors
> >
> > usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp: In member function
> > ‘std::__debug::vector<std::pair<std::__cxx11::basic_string<char>,
> > std::__cxx11::basic_string<wchar_t> > > 
> > lyx::InsetInfoParams::getArguments(const
> > lyx::Buffer*, const string&)
> > const’: /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp:300:22: error: 
> > ‘fromTime_t’ is
> > not a member of ‘QDateTime’ date =
> > QDateTime::fromTime_t(buf->fileName().lastModified()).date();
> > ^~~~~~~~~~ /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp:326:22: error: 
> > ‘fromTime_t’
> > is not a member of ‘QDateTime’ time =
> > QDateTime::fromTime_t(buf->fileName().lastModified()).time();
> > ^~~~~~~~~~ /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp: In member 
> > function ‘virtual
> > void lyx::InsetInfo::updateBuffer(const lyx::ParIterator&, lyx::UpdateType,
> > bool)’: /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp:1152:22: error: 
> > ‘fromTime_t’ is
> > not a member of ‘QDateTime’ date =
> > QDateTime::fromTime_t(buffer().fileName().lastModified()).date();
> > ^~~~~~~~~~ /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp:1169:22: error:
> > ‘fromTime_t’ is not a member of ‘QDateTime’ time =
> > QDateTime::fromTime_t(buffer().fileName().lastModified()).time();  
> 
> This will take some work. There's some info here:
> 
> https://doc.qt.io/qt-6/portingguide.html
> 
> Maybe we should make this a post 2.4 priority, though of course work on 
> it could start now in a branch.
> 
> Riki

The guide is lengthy and I did not find QDateTime mentioned there.
Yes, we should postpone.

        Kornel

Attachment: pgpmCwrXD8kTg.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to