Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems with Windows deployment
QtWS25 Last Chance

Problems with Windows deployment

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 3.4k 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.
  • A Offline
    A Offline
    arymedeiros
    wrote on last edited by
    #1

    Hi. I'm a MacOs programmer trying to port my application to windows.

    My application runs without problem when started from QtCreator.

    When I try to start it from the command line I got an exception without any kind of explanation.

    My .pro file only uses: QT += core gui

    This application already runs in a MacOs version where I just need to deploy QtGui and QtCore shared libraries.

    In the application directory I am copying the following files:

    • libgcc_s_dw2.dll

    • mingwm10.dll

    • QtCore4.dll

    • QtGui4.dll

    Am I missing some file?

    Thank's in Advance,

    Ary Medeiros

    1 Reply Last reply
    0
    • M Offline
      M Offline
      milot.shala
      wrote on last edited by
      #2

      Are you compiling your application as release?

      What kind of exception are you getting? Is there a stack trace or something?

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

        The same problems occours in both versions, release and debug. In this case is the release version.

        The exception that I got is a message that my app found an error and must be closed. And ask's me to send an error report to Microsoft. When I click for details, it shows me the an exception accours into the module qtcore4.dll ModVer 4.6.3.0 Offset: 0x005402b.

        The strange thing is that when I run my app through QtCreator it runs with no error.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Sounds like you are missing some files...

          There is a nice tool called procmon for windows which is a great help in a situation like this: It can list (among other things) all the files a application tried to open.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arymedeiros
            wrote on last edited by
            #5

            Thanks you both for the quick answer. I used the tool mentioned ahead, and found that the working directory used by QtCreator was diferent than my executable. Due this I got 2 missing files.

            Now I keep moving again.

            Thanks!!!

            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