Giter VIP home page Giter VIP logo

Comments (7)

mrQzs avatar mrQzs commented on July 29, 2024

估计是我最后改动的代码导致在Ubuntu上编译不过吧,最近抽个时间完善一下。

from lvglbuilder.

diver197 avatar diver197 commented on July 29, 2024

G:\LVGLBuilder\LVGLFontDialog.h:28: error: field 'm_index' has incomplete type 'QHash<QString, int>'
In file included from ..\LVGLBuilder\LVGLFontDialog.cpp:1:
..\LVGLBuilder\LVGLFontDialog.h:28:22: error: field 'm_index' has incomplete type 'QHash<QString, int>'
QHash<QString, int> m_index;
G:\LVGLBuilder\LVGLWidgetListView.cpp:27: error: incomplete type 'QIODevice' used in nested name specifier
..\LVGLBuilder\LVGLWidgetListView.cpp: In member function 'virtual void LVGLWidgetListView::startDrag(Qt::DropActions)':
..\LVGLBuilder\LVGLWidgetListView.cpp:27:42: error: incomplete type 'QIODevice' used in nested name specifier
QDataStream stream(&encoded, QIODevice::ReadOnly);
G:\LVGLBuilder\properties\LVGLPropertySeries.cpp:239: error: no matching function for call to 'max(int&, qsizetype)'
..\LVGLBuilder\properties\LVGLPropertySeries.cpp: In member function 'virtual void LVGLPropertySeries::updateWidget(LVGLObject*)':
..\LVGLBuilder\properties\LVGLPropertySeries.cpp:239:50: error: no matching function for call to 'max(int&, qsizetype)'
maxPoints = std::max(maxPoints, s.points.size());
G:\LVGLBuilder\properties\LVGLPropertySeries.cpp:332: error: no matching function for call to 'max(int&, qsizetype)'
..\LVGLBuilder\properties\LVGLPropertySeries.cpp:332:54: error: no matching function for call to 'max(int&, qsizetype)'
maxPoints = std::max(maxPoints, item.points.size());

win10
Qt Creator 4.15.1
Based on Qt 5.15.2 (MSVC 2019, 64 bit)

from lvglbuilder.

mrQzs avatar mrQzs commented on July 29, 2024

@diver197 我两台电脑,除了不是msvc2019的,都可以编译通过,这个错误看起来更像是缺少头文件。。。

from lvglbuilder.

diver197 avatar diver197 commented on July 29, 2024

我的两台电脑编译都出现相同的问题,是需要特殊设置吗?

from lvglbuilder.

diver197 avatar diver197 commented on July 29, 2024

您是在Linux下编译的?

from lvglbuilder.

mrQzs avatar mrQzs commented on July 29, 2024

@diver197 你看下是不是 dev-v7分支,然后回退到v1.0.3的发布release的那条记录。 因为发布1.0.3的版本,全平台都编译通过了。

from lvglbuilder.

sangko-dgq avatar sangko-dgq commented on July 29, 2024

'QHash<QString, int>'

from lvglbuilder.

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.