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. [Solved]Compiles fine under release/debug, only runs under debug.

[Solved]Compiles fine under release/debug, only runs under debug.

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.9k 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
    azkay
    wrote on last edited by
    #1

    My code compiles fine on both release and debug, but if I compile it as release it runs- but doesnt work.
    eg; It qDebugs what its supposed to (connected, info, etcetc) but no GUI comes up. No errors, it just doesnt seem to be working properly, I dont see the account on the flash side which makes me believe its hanging somewhere after the connection (CPU usage goes right up, but it never seems to crash or anything).

    If I run it from the debug compile, it runs fine, qDebugs fine, GUI comes up right away, and I can see the account on the flash side.

    Any ideas on why this would be happening?

    EDIT::
    Ive tried under 32bit Windows 7 and Debian

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

      There are many possible causes. One might be a problem with finding the right libraries for your release version to run.

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

        How do I check theyre the right version?
        Anything else I use compiles and runs fine under release, its just this project that doesnt.

        EDIT:
        Fixed, found a loop causing the problem.
        Still not sure why it didnt hang under debug, though.

        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