Results 1 to 5 of 5

Thread: weird segmentation fault on startup

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2015
    Posts
    42
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: weird segmentation fault on startup

    Hey d_stranz,

    thanks so much for that reply. What puzzled me is that I run the deployed *.exe on the very same machine without any problem.

    I'm afraid it is actually going deeper. I figured out that since I updated VMWare-Horizon-Agent on this machine I got this error.
    I'll try to rollback and see.

    But to come back to your advice (helpfull as always): how would I raise the "complainement factor" of my compiler? Sounds interesting, never done this.

    Regards, Lars

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,321
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: weird segmentation fault on startup

    how would I raise the "complainement factor" of my compiler?
    What compiler are you using?

    For Microsoft Visual C++, you add "/W4" for the highest level of warnings, and "/WX" to treat warnings as errors.

    For MinGW/gcc, "-Wall" is the highest level, and "-Werror" turns warnings into errors.

    These are added to the command-line specification for the compiler. In Visual Studio, you add it on the "C/C++ -> General" section of the project's Property Pages dialog. I don't use Qt Creator so I don't know where to put it on that.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    May 2015
    Posts
    42
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: weird segmentation fault on startup

    Thanks. In this case I use mingw32. I think in creators project setting page you can specify commandline option. I'll try and come back.

    Cheers.

Similar Threads

  1. Crash at startup giving segmentation fault
    By Tanu@123 in forum Qt Programming
    Replies: 0
    Last Post: 20th June 2018, 06:57
  2. Very slow startup by the first run
    By denizlitr in forum Qt for Embedded and Mobile
    Replies: 14
    Last Post: 2nd November 2016, 07:30
  3. QT app crash at startup
    By pl01 in forum Newbie
    Replies: 4
    Last Post: 5th June 2013, 10:45
  4. weird weird mingw32-make
    By KillGabio in forum Qt Programming
    Replies: 19
    Last Post: 20th January 2012, 20:09
  5. QToolBar go away! On startup anyway.
    By bitChanger in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2006, 18:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.