No compile errors but no output
-
Hi Everyone,
Has anyone ever came across this kind of problem in qt when your code is being compiled and exited normally but it also shows no application output.
I am trying to understand what could be the reason behind this?
Has anyone any idea ??
Please share,
Thanks
-
Do you have any sample code that generates the above behavior ?
-
Its a very big code.....Have lot of subdirectories.....how shall i show you??
-
Did you try debug version?
-
could it be a problem if we do copy paste some Ui's in different classes???
-
yes ...I did
-
Without the code its not possible enough to figure out the reason for the above behavior, Try debugging the code, you can also clean your project(moc files) and run qmake then rebuild.
-
I understand but its a huge code cannot be pasted as a whole......I tried all clean and rebuild. My code has 4 subdirs and some 4-5 screens(each screen has its .h .cpp and .ui file) which are same in all four subdirs. I included all these 5 screens in one subdir, code was working fine, the moment i included these 5 screens in the other sub dir, my code started to show this kind of problem.
I thought may be I can get to know about the context of such kind a behaviour......
-
Okay if it is a test code, the you can also zip your project folder and upload the zip file somewhere like mediafire.com and paste the link here.
-
My code is uploaded at :
http://www.mediafire.com/?egzdbpv5vdu5m2fThanks
-
maybe your application can not found the dynamic library!
-
But how its possible that adding some new screens is making my application not able to find the dynamic library
-
the easy way,you can use the windows depends application to found out that your application depended library, then copy all dll to your application directory!
-
I didnt understand what you described here......and I am compiling on qt creator on on Ubuntu-a Linux machine
-
sorry, if you use the linux system ,you can use ldd commands to see how many depended library!
-
Hi all,
Has anyone saw the code I posted??