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 executable file not working
Forum Updated to NodeBB v4.3 + New Features

Qt executable file not working

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k 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.
  • O Offline
    O Offline
    ogopa
    wrote on last edited by
    #1

    So i have finally finished creating my gui in Qt and finished writing all the code. But when i run the executable, the gui application pops up, but nothing is working in the window i.e. the pushbuttons don't function, the combo boxes have no items etc. It seems like none of the code is executing.
    How ever when click build and run in Qt Creator, everything works fine.
    And when I run the executable in terminal, it works fine.

    I'm not sure what is wrong. any help would be appreciated.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cayan
      wrote on last edited by
      #2

      Which executable is not working then?
      This should be happening from a different executable that had been generated before.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        ogopa
        wrote on last edited by
        #3

        [quote author="Cayan" date="1314734115"]Which executable is not working then?
        This should be happening from a different executable that had been generated before.[/quote]

        My class in Qt Creator is called Wave. I have two files: "Wave" and "Wave-build-desktop". "Wave-build-desktop" was generated by Qt and the executable file called Wave.exe is in there. When i click on Wave.exe to open it, it opens the application window, but none of the push button are working and no items are displayed in the comboboxes. But when i navigate to this file in terminal and execute it from there, the application window pops up and everything works ok.

        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