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 
QSettings(qApp->applicationDirPath()+"/config/server.ini",QSettings::IniFormat);

    QString lastError;

    NautamServer nautamServer(settings);

    ConsoleLoggerFactory loggerFactory;

    loggerFactory.setSettings(settings);

    nautamServer.setLoggerFactory(&loggerFactory);

    if (!nautamServer.startServer(lastError))
        qDebug()<<"Last error :"<<lastError;

    return a.exec();
}

the problem is taht i’m gettirn segmentation fault in the first line of the 
main function as you’ll see in the stack as folowed:

#0  0x00007ffff37616e7 in QOpenGLContext::create() () from 
/home/freddy/Qt5.5.1/5.5/gcc_64/lib/libQt5Gui.so.5 
#1  0x00007fffe9b1d9bd in QtWebEngine::initialize() () from 
/home/freddy/Qt5.5.1/5.5/gcc_64/lib/libQt5WebEngine.so.5 
#2  0x00007ffff4f63688 in QCoreApplication::init() () from 
/home/freddy/Qt5.5.1/5.5/gcc_64/lib/libQt5Core.so.5 
#3  0x00007ffff4f63b05 in QCoreApplication::QCoreApplication(int&, char**, int) 
() from /home/freddy/Qt5.5.1/5.5/gcc_64/lib/libQt5Core.so.5 
#4  0x000000000044935b in main (argc=1, argv=0x7fffffffdea8) at 
../../nautam-kernel/nautam-server/main.cpp:63

well guys, I really don’t know what happend and I don’t have any idea about 
what is wrong

can you help me please?

regards


=============================================
"El tamaño de tus logros depende del tamaño de tus metas." 
C++ and Qt Senior Developer
B.S. Computer Science
Buenos Aires, Argentina

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to