Comments (6)
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.
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.
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.
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.
@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.
@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)
- cmake variable QtUiTools_location not found HOT 4
- Install issue on Mac HOT 4
- qdataFrameModel HOT 2
- "this" corrupted HOT 14
- Can't install under ubuntu 64bit: QFlag::QFlag(long) not defined HOT 1
- Can't install under Windows 7: std::bad_alloc HOT 22
- qtbase crash on Windows HOT 42
- Duplicated symbols when linking against Qt5 HOT 1
- CMAKE_SIZEOF_VOID_P is undefined on Win7 32bit HOT 3
- valgrind issues from CRAN
- Data type conversion problem when building against Qt5.4.0 HOT 1
- Remove GNU make dependency
- Document why a copy of kdebindings is needed
- generated code does not compile against Qt 5.6.1 HOT 6
- OS X install incomplete (when installing qtpaint after qtbase). HOT 4
- compilation issues in High Sierra macOS HOT 5
- Functor support
- Configure does not use the compiler set for R consistently
- missing type: QFlags<QDir::Filter> in method QAbstractFileEngineIterator* QAbstractFileEngineIterator::QAbstractFileEngineIterator(QFlags<QDir::Filter>, const QStringList&) (while building munged names map) /bin/sh: line 1: 29385 Abort trap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtbase.