Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Thiago Macieira
On sábado, 9 de abril de 2016 18:18:19 PDT Freddy Martinez wrote: > QSettings* settings = new > QSettings(qApp->applicationDirPath()+"/config/server.ini",QSettings::IniFor > mat); [Unrelated] You don't need new here. > #1 0x7fffe9b1d9bd > in QtWebEngine::initialize() () from > /home/fred

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Alan Ezust
The problem is you are trying to create an OpenGlContext from a QCoreApplication. #0 0x737616e7 in QOpenGLContext::create() () from /home/ Create a QApplication or a QGuiApplication instead and it should work. On Sat, Apr 9, 2016 at 2:18 PM, Freddy Martinez wrote: > Hi guys.. > > I’v

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Mike Chinander
Are you running it from QtCreator or on the command line? On the command line, what is the output of: ldd yourapplicationname Are there any mismatched versions of Qt libraries (or any missing libraries)? On Sat, Apr 9, 2016 at 5:33 PM, Freddy Martinez wrote: > Hi Andy, the output for the qt v

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Freddy Martinez
Hi Andy, the output for the qt version qdebug is Qt compile version: 5.5.1 Qt runtime version: 5.5.1 But, it doesn’t have any sense that the QCoreApplication constructor give me a segfault, at less for me… regards = "El tamaño de tus logros depende

Re: [Interest] big trouble with QCoreApplication

2016-04-09 Thread Mike Chinander
What's on line 63 of main.cpp? On Sat, Apr 9, 2016 at 4:18 PM, Freddy Martinez wrote: > Hi guys.. > > I’ve Kubuntu 15.10 and I’m working with qt 5.5.1… > > this is may main.cpp > > int main(int argc, char *argv[]) > > { > > QCoreApplication a(argc, argv); > > > if (!checkConfigurationFil

[Interest] Assert failure in QVariant::save

2016-04-09 Thread Sina Dogru
Hello, I have an app which has a save functionality. I keep application states on QObject-derived class objects and to save the state I use QVariant's operator<<(). I do this for all the properties of the object. So I use a loop like this for all my objects: for (int i = 0; i < metaObj->propertyC

[Interest] big trouble with QCoreApplication

2016-04-09 Thread Freddy Martinez
Hi guys.. I’ve Kubuntu 15.10 and I’m working with qt 5.5.1… this is may main.cpp int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); if (!checkConfigurationFiles()) { qDebug()<<"Unable to start server."; return 1; } QSettings* settings = new

Re: [Interest] CLion to replace QtCreator?

2016-04-09 Thread Alejandro Exojo
El Wednesday 06 April 2016, André Somers escribió: > Op 05/04/2016 om 22:47 schreef Alejandro Exojo: > > El Tuesday 05 April 2016, André Somers escribió: > >> That works, but it is not as flexible as what we see in those gifs. For > >> instance, you cannot move the cursor left or right or make the