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 app crash at startup

QT app crash at startup

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 7.2k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    pl01
    wrote on last edited by
    #1

    Hi,

    I'm working on a QT based software, this one works well on my computer (and another development machine) but once that I start it on a customer computer,
    there is no "window" appearing !!!!!

    By example, we double click on the desktop icon and nothing appear... but it seems that the application start, then exit.

    I have even add a module to catch all the exceptions (CrashRpt), but no log is created !!!!

    So, for information :

    • The software use VS 2010, only in 64 bits
    • I have build QT5 64 bits (VS 2010) myself, with the following script :
    • You can download it at : "http://www.spectralpixel.com/index.php/spectral-studio-trial":http://www.spectralpixel.com/index.php/spectral-studio-trial

    How is it possible ?

    Here is the script that I have used :

    @
    REM http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/#comment-6641
    REM http://qt-project.org/wiki/Building_Qt_5_from_Git

    REM Start command line this way to support 64 bits:
    REM %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x64

    REM ---------- Configure ----------
    @ECHO OFF
    cls
    rmdir /Q /S C:\Qt\qt-5.0.2-build
    mkdir C:\Qt\qt-5.0.2-build
    cd C:\Qt\qt-5.0.2-build
    ..\qt-5.0.2-src\configure -debug-and-release -opensource -shared -qt-sql-sqlite -no-dbus -no-accessibility -no-audio-backend -platform win32-msvc2010 -no-c++11 -no-openvg -nomake examples -nomake tests -confirm-license -opengl desktop

    REM ---------- Build ----------
    REM nmake
    REM nmake qdoc3
    REM editbin command fixes a stack overflow that none of the developers seem to care about because it only shows up in 64-bit windows
    REM editbin /STACK:0x200000 bin\qdoc3.exe
    REM nmake docs
    REM nmake install
    REM nmake clean
    cd ..
    @

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      Read how to deploy your Qt app here: http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AcerExtensa
        wrote on last edited by
        #3

        You can also use Dependency Walker to check which libraries are needed for your app.

        God is Real unless explicitly declared as Integer.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I'm getting tired of this... the same question almost every day.

          See "the deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html, please.

          (Z(:^

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pl01
            wrote on last edited by
            #5

            Thanks a lot,

            But previously I was using QT4 and everything was fine. Since the last release... I have this problem and don't know how to debug that ! I have also try with the dependency walker... but it does not help a lot (At least I have find nothing).

            Also, I have check the "deployment guide", but find nothing that help !

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              Copy the platform plugin.

              (Z(:^

              1 Reply Last reply
              0

              • Login

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