Giter VIP home page Giter VIP logo

Comments (6)

lawremi avatar lawremi commented on August 12, 2024

Thanks. It will take a while to update support to 5.12. Every release they find new ways to confuse our compiler. I think in this case we need to ignore typedefs within classes.

from qtbase.

AntonioFasano avatar AntonioFasano commented on August 12, 2024

Thank you. Please, which is the last supported Qt version.

As I understand, it is quite unlikely to install the package with rolling distros. One possibility could be to download and build from source:

https://download.qt.io/archive/qt/5.12/5.12.1/submodules/qtbase-everywhere-src-5.12.1.tar.xz

where 5.12.1 is replaced with the last supported version.

Then:

export QTDIR="/path/to/new/qt/"
export PATH="${QTDIR}/bin:${PATH}"
export LD_LIBRARY_PATH="${QTDIR}/lib"
export CMAKE_PREFIX_PATH="${QTDIR}"
export PKG_CONFIG_PATH="${QTDIR}/lib/pkgconfig"
R
install_github("ggobi/qtbase")

What do you think?

from qtbase.

lawremi avatar lawremi commented on August 12, 2024

Something like that should work. Not sure how cmake finds Qt5, but it should be documented. I pushed some changes yesterday that get us pretty close, but there are a couple more issues.

from qtbase.

leovan avatar leovan commented on August 12, 2024

I got some other errors on macOS when compiling against R 3.5.2 and Qt 5.12.1, really hope it can support the latest Qt 5.12.* soon.

Generating SMOKE sources...
preparing SMOKE data [qt]
writing out smokedata.cpp [qt]
writing out x_*.cpp [qt]
Done.
[ 45%] Automatic MOC for target smokeqt
[ 45%] Built target smokeqt_autogen
Scanning dependencies of target smokeqt
[ 46%] Building CXX object kdebindings/smoke/qt/CMakeFiles/smokeqt.dir/smokedata.cpp.o
/private/var/folders/w0/tsvfs60x117d_vcxs0jhhsv00000gn/T/Rtmp9hb2Rs/R.INSTALL130de2433b2eb/qtbase/src-build/kdebindings/smoke/qt/smokedata.cpp:10362:35: error: 
      use of undeclared identifier 'RegisterType'; did you mean 'QMetaType::registerType'?
        case 1390: return (void*)(RegisterType*)xptr;
                                  ^~~~~~~~~~~~
                                  QMetaType::registerType
/usr/local/opt/qt/lib/QtCore.framework/Headers/qmetatype.h:511:16: note: 'QMetaType::registerType' declared here
    static int registerType(const char *typeName, Deleter deleter,
               ^
/private/var/folders/w0/tsvfs60x117d_vcxs0jhhsv00000gn/T/Rtmp9hb2Rs/R.INSTALL130de2433b2eb/qtbase/src-build/kdebindings/smoke/qt/smokedata.cpp:10362:48: error: 
      expected expression
        case 1390: return (void*)(RegisterType*)xptr;
                                               ^

from qtbase.

ryellow avatar ryellow commented on August 12, 2024

@leovan I've got exactly the same error. Qt 5.12.8 and R 3.6.3
@lawremi I hope you can support soon the latest Qt 5.12*

from qtbase.

ryellow avatar ryellow commented on August 12, 2024

@AntonioFasano : On MacOS, R3.6.3, I am able to compile and install qtbase with Qt 5.9.9. It seems work as expected. With Qt 5.12.8 the compilation fails. I Hope this help you

from qtbase.

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.