Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT stops with segmentation error on main function
Forum Update on Monday, May 27th 2025

QT stops with segmentation error on main function

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.6qt5.7windows10qt5.8
2 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rdsivd
    wrote on 1 May 2017, 08:20 last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 May 2017, 08:44 last edited by
      #2

      Hi and welcome to devnet,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      1 May 2017, 08:44

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved