Thanks.
> From the conversation in the linked thread, it looks like Qt tried to create
> a
> dialog that is too wide, so COGL failed to create the OpenGL texture. Then it
> crashed.
That's my suspicious.
>
> Workaround: limit the width of your dialog.
Yes. I did it before my posts in the ori
On quinta-feira, 29 de setembro de 2016 23:15:18 PDT André Pönitz wrote:
> That's something to ask the gdm folks. 2000 bytes in a QLabel might be
> unusual, but no reason to crash. Here (fvwm 2.6.5 on Ubuntu 16.04) it
> displays fine.
>From the conversation in the linked thread, it looks like Qt t
On Thu, Sep 29, 2016 at 10:08:05PM +0200, Kotanski, Jan wrote:
> Hi,
>
> I've noticed that too long test in qlabel e.g.
>
>void retranslateUi(QDialog *Dialog)
> {
> Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0,
> QApplication::UnicodeUTF8));
> char
Replacing into QString it crashes as well, i.e.
#ifndef UI_DIALOG_H
#define UI_DIALOG_H
#include
#include
#include
#include
#include
#include
#include
#include
#include
QT_BEGIN_NAMESPACE
class Ui_Dialog
{
public:
QFormLayout *formLayout;
QVBoxLayout *verticalLayout;
On quinta-feira, 29 de setembro de 2016 22:08:05 PDT Kotanski, Jan wrote:
> crashed my gdm (for gnome 3).
>
> Is it a known problem? How to fix it?
if gdm crashes, it's a gdm bug. Please talk to GNOME people for the fix.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect -
FTR on my macOS machine with Qt 5.7.0 it doesn’t crash.
What Qt version do you use? QApplication::UnicodeUTF8 is unknown as well as the
translate() overload that your code uses.
Beste Grüße / Best regards,
Alexander Nassian, bitshift dynamics GmbH
> Am 29.09.2016 um 22:08 schrieb Kotanski, Jan :
Hi,
Does this also happen if you use QString instead of char[]?
Beste Grüße / Best regards,
Alexander Nassian, bitshift dynamics GmbH
> Am 29.09.2016 um 22:08 schrieb Kotanski, Jan :
>
> Hi,
>
> I've noticed that too long test in qlabel e.g.
>
> void retranslateUi(QDialog *Dialog)
>{
>
Hi,
I've noticed that too long test in qlabel e.g.
void retranslateUi(QDialog *Dialog)
{
Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0,
QApplication::UnicodeUTF8));
char str[2000];
for(int i=0; i<1999;i++)
str[i] = 'a';
str[
One of the reasons to use QVariant is that it's usually what is needed to
connect a C++ signal to a QML function or to use invokeMethod, I could only
ever get this to work by passing all arguments as QVariants.
See for example:
http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html#i