GithubHelp home page GithubHelp logo

Comments (6)

reionwong avatar reionwong commented on June 12, 2024

you can change #include <QGSettings/QGSettings> to #include <QGSettings>, but more back issues...

i'm trying to fix it .
https://github.com/rekols/dtkcore

from dtkcore.

reionwong avatar reionwong commented on June 12, 2024

Need to upgrade ubuntu xenial, I have fixed it.

https://github.com/rekols/dtkcore/blob/master/.travis.yml

from dtkcore.

probonopd avatar probonopd commented on June 12, 2024

Thanks @rekols. Now getting

In file included from /opt/qt59/include/QtCore/QObject:1:0,
                 from /home/travis/build/probonopd/dtkcore/src/filesystem/dbasefilewatcher.h:24,
                 from /home/travis/build/probonopd/dtkcore/src/filesystem/dfilewatcher.h:21,
                 from /home/travis/build/probonopd/dtkcore/src/filesystem/dfilewatcher.cpp:18:
/opt/qt59/include/QtCore/qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt59/include/QtCore/qobject.h:313:13: note:   template argument deduction/substitution failed:
/home/travis/build/probonopd/dtkcore/src/filesystem/dfilewatcher.cpp:113:46: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QGlobalStatic<Dtk::Core::DFileSystemWatcher, (* Dtk::Core::{anonymous}::Q_QGS_watcher_file_private::innerFunction), (* & Dtk::Core::{anonymous}::Q_QGS_watcher_file_private::guard)>’
                q, &DFileWatcher::onFileClosed);
                                              ^
make[1]: *** [dfilewatcher.o] Error 1
make[1]: Leaving directory `/home/travis/build/probonopd/dtkcore/build/src'
make: *** [sub-src-make_first-ordered] Error 2

Build log:
https://travis-ci.com/probonopd/dtkcore/builds/95927902#L1034-L1048

I am trying to build on trusty because that is the oldest still-supported distribution. I want to make AppImages for the Deepin applications, and would like the applications to be able to run on all still-supported versions of Ubuntu, including 14.04. Is it not possible to compile this on Ubuntu 14.04 and if so, is it a compiler issue or some other reason?

from dtkcore.

hunt978 avatar hunt978 commented on June 12, 2024

checkout this one:

https://github.com/linuxdeepin/gsettings-qt

from dtkcore.

probonopd avatar probonopd commented on June 12, 2024

Thank you very much. In the meantime, xenial is now the oldest still-supported Ubuntu release.

from dtkcore.

BLumia avatar BLumia commented on June 12, 2024

Hi, sorry for the late reply.

Ubuntu 14.04 is no longer supported by deepin team, so I'll close this issue for now. If people are willing to port it to older Qt version, please feel free to fork it and start hacking, and also feel free to start a discussion at the developer-center if you need help.

Thanks!

from dtkcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.