Qt executable file not working



  • 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.



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



  • [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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.