Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT stops with segmentation error on main function



  • Hello,

    I have running QT on ubuntu, where my program is running ok

    Now i trying to compile on windows 10

    After installing QT5.6(7,8,9) on my windows system and opening my program, it compiles without any error

    when running in debug mode the program stops on the main function "{" with a segmentation error

    main.cppitalicised text

    #include "dxftoqet3db.h"
    #include <QApplication>

    //#include "data.h"

    int main(int argc, char *argv[])
    { <----program stops herebolded text

    QApplication a(argc, argv);
    DXFtoQET3DB w;
    w.show();
    
    //ui->Info_2->activateWindow();
    
    return a.exec();
    

    }

    some one any idee ?

    regards
    Ronny


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What's dxftoqet3db.h ?
    Where does it come from ?
    Does it use an external .dll ?