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. No compile errors but no output
Forum Updated to NodeBB v4.3 + New Features

No compile errors but no output

Scheduled Pinned Locked Moved General and Desktop
16 Posts 4 Posters 4.5k 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.
  • P Offline
    P Offline
    pragati
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      Do you have any sample code that generates the above behavior ?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pragati
        wrote on last edited by
        #3

        Its a very big code.....Have lot of subdirectories.....how shall i show you??

        1 Reply Last reply
        0
        • G Offline
          G Offline
          guziemic
          wrote on last edited by
          #4

          Did you try debug version?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pragati
            wrote on last edited by
            #5

            could it be a problem if we do copy paste some Ui's in different classes???

            1 Reply Last reply
            0
            • P Offline
              P Offline
              pragati
              wrote on last edited by
              #6

              yes ...I did

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sam
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  pragati
                  wrote on last edited by
                  #8

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

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sam
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pragati
                      wrote on last edited by
                      #10

                      My code is uploaded at :
                      http://www.mediafire.com/?egzdbpv5vdu5m2f

                      Thanks

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mumutou
                        wrote on last edited by
                        #11

                        maybe your application can not found the dynamic library!

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          pragati
                          wrote on last edited by
                          #12

                          But how its possible that adding some new screens is making my application not able to find the dynamic library

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mumutou
                            wrote on last edited by
                            #13

                            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!

                            1 Reply Last reply
                            0
                            • P Offline
                              P Offline
                              pragati
                              wrote on last edited by
                              #14

                              I didnt understand what you described here......and I am compiling on qt creator on on Ubuntu-a Linux machine

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mumutou
                                wrote on last edited by
                                #15

                                sorry, if you use the linux system ,you can use ldd commands to see how many depended library!

                                1 Reply Last reply
                                0
                                • P Offline
                                  P Offline
                                  pragati
                                  wrote on last edited by
                                  #16

                                  Hi all,

                                  Has anyone saw the code I posted??

                                  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