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. Strange behaviours of the executable
Qt 6.11 is out! See what's new in the release blog

Strange behaviours of the executable

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.0k 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.
  • A Offline
    A Offline
    Aicou
    wrote on last edited by
    #1

    Hello,
    I just end the development of my Qt application, everything work great. Now i would like to deploy it, and like I do all the time I get the .exe from the release directory and take the dll from my Qt bin directory to put them in a new folder.
    The program start but when the second call to a QFtp method nothing happened. It's seems that the command started signal is never send but nothing seems to be wrong, the window is responding.
    I don't know how to debug it since it work just fine when I execute it from Qt Creator.

    I compile it with Qt Creator (Qt 4.7.3 for Desktop - MSVC2008 (Qt SDK)) and i get the dll from QtSDK\Desktop\Qt\4.7.3\msvc2008\bin
    QtCore4.dll
    QtGui4.dll
    QtNetwork4.dll

    Any one get an idea of why is this happening or how can I get exactly the same execution conditions that Qt Creator ?

    Edit: It's my first development with the new "improbable directory name's and structure" Qt

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tjenssen
      wrote on last edited by
      #2

      Maybe there is a difference between release and debug(timing issue). Please post the code(maybe as pastebin link).

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

        the all code is kind of huge, but it work great on debug/release when I run it from Qt Creator but not from the executable (release or debug)

        here is my code :
        http://pastebin.com/tueneYNA the controller part
        http://pastebin.com/2pPk62Gg the ftp part

        the controleur::defineFtpClientLst() call the ftp::listClient() but ftp::cmdStart(int i) is never reached.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Aicou
          wrote on last edited by
          #4

          I get it.

          I forgot on little '/' before a path on my conf window ...

          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