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. 3rd party libary simply doesn't work, no errors, just noda
Forum Update on Monday, May 27th 2025

3rd party libary simply doesn't work, no errors, just noda

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 4 Posters 3.9k Views
  • 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.
  • S Offline
    S Offline
    scarleton
    wrote on 5 Aug 2011, 01:52 last edited by
    #1

    I am using NCReport to run reports and do printing within my Windows Qt application. Everything works fine on my development machine, but in the clean VM install machine the plugin simply does not run. I have tried linking NCReport in both statically and dynamically, and in both cases I get the results, nothing.

    It is not that it crashes, I simply get nothing. What is supposed to happen is my print dialog comes up, then you press the <Print Preview> button which closes the print dialog and displays the NCReport preview window with the report. When I press the <Print Preview> button, I simply get nothing, the print dialog goes away as expected, but nothing else. No error, no anything.

    I dug a bit deeper, thinking the issue might be a path issue so I added an About box that shows the Qt Library Paths. The system is pointing to the directly that the program and all the Qt DLL's are in (C:\Program Files\Miltonstreet Software\Photo Parata) and to the plugins (C:\Program Files\Miltonstreet Software\Photo Parata\plugins). The plugins folder also has the imageformats directly which contains all 6 default dll's and the sqldrivers folder that contains qsqlite4.dll.

    Any thoughts on what I am missing? I am totally lost at this point.

    Sam

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on 5 Aug 2011, 10:15 last edited by
      #2

      Does the application quit, or just keeps running without showing anything?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on 5 Aug 2011, 10:45 last edited by
        #3

        It's required to put the plugins into subfolders of Photo Parata\plugins. Putting all DLLs into "plugins" is not sufficient.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • S Offline
          S Offline
          scarleton
          wrote on 5 Aug 2011, 11:34 last edited by
          #4

          It just keeps running, it never chrashes.

          Volker, I am aware the image dll's need to be in the imageformats directory and the sql dll's sqldrivers folder.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            scarleton
            wrote on 6 Aug 2011, 04:02 last edited by
            #5

            Thinking it might be some other plugin that was missing, I copied over ALL the plugins, but release and debug. No luck. Then I copied over all the DLL's from %QTDIR%\bin directory, still no luck. Like I said before, it does not crash, it simply does not report an errors.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lgeyer
              wrote on 6 Aug 2011, 15:18 last edited by
              #6

              Are there any errors in the Windows Event Log?
              If there are problems in locating shared libraries they have to be logged somewhere, haven't they?

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on 6 Aug 2011, 23:15 last edited by
                #7

                You can add a log browser window like one in "this wiki article":http://developer.qt.nokia.com/wiki/Browser_for_QDebug_output to your application and catch the qDebug() output there. This should give you some information about where and why something went wrong.

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  scarleton
                  wrote on 7 Aug 2011, 01:20 last edited by
                  #8

                  Volker, That did it, I had a check for a condition I didn't think would fail and I only had a qDebug in the else statement:)

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    goetz
                    wrote on 7 Aug 2011, 11:22 last edited by
                    #9

                    Glad to hear it helped. That qDebug output saved me for a good couple of times too :-)

                    http://www.catb.org/~esr/faqs/smart-questions.html

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      scarleton
                      wrote on 7 Aug 2011, 11:43 last edited by
                      #10

                      Yea, I have always used it with Visual Studio as the logger, I never knew I was about to output to another window, thAt us sweet!

                      1 Reply Last reply
                      0

                      3/10

                      5 Aug 2011, 10:45

                      7 unread
                      • Login

                      • Login or register to search.
                      3 out of 10
                      • First post
                        3/10
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved