Welcome, Guest. Please login or register.
Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Baris

Pages: [1]
1
Discussion | Обсуждение / Re: QOpenGLBuffer Errors
« on: August 17, 2020, 03:37:01 pm »
I think this is caused by MinGW - 32 bit.

I tried (Maybe it's incorrect i don't know  :) )
Code: [Select]
Qt::AA_ShareOpenGLContexts
Then Charts gives:
Quote
"QtCharts": Cannot load library C:\Qt\Qt5.9.3\5.9.3\mingw53_32\qml\QtCharts\qtchartsqml2d.dll: Not enough memory resources are available to process this command.

Like below.

https://bugreports.qt.io/browse/QTBUG-64551

2
Discussion | Обсуждение / QOpenGLBuffer Errors
« on: August 14, 2020, 11:14:17 am »
I am using Limereport as report tool in one of my project.

QT Version is: 5.9.3
Limereport Version: 1.5.35 & 1.5.1
Platform is: Windows (MinGW 32bit) and I use QML.
I also use QtChart and Sqlite too.

I build your pro and link these output libs to my project: limereportd, limereport, QtZintd and QtZint (I copy/paste dlls and includes to my libs path)

As like that

Code: [Select]
DEPENDPATH += $$PWD/libs \
              $$PWD/libs/include

INCLUDEPATH += $$PWD/libs \
               $$PWD/libs/include

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libs/ -llimereport
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libs/ -llimereportd
else:unix: LIBS += -L$$PWD/libs/ -llimereport


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libs/ -lQtZint
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libs/ -lQtZintd
else:unix: LIBS += -L$$PWD/libs/ -lQtZint


But there is a strange behaviour.

If i run my project in debug mode it always gives these errors and UI not shown (only white screen)

Code: [Select]
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLShaderProgram::uniformLocation(imageTexture): shader program is not linked
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLShaderProgram::uniformLocation(imageTexture): shader program is not linked
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLBuffer::bind(): buffer not created
QOpenGLBuffer::allocate(): buffer not created
QOpenGLBuffer::release(): buffer not created
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""

If i don't include report pri (I made my own) which is links limeport, qtzint dlls and include files to my project, there is no problem.

If i run in release mode with limereport there is no problem also.

Do you have any idea?

Pages: [1]