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. I did my app deployable and now doesn't appear the background and drivers.
Forum Updated to NodeBB v4.3 + New Features

I did my app deployable and now doesn't appear the background and drivers.

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 4 Posters 1.5k Views 2 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.
  • D Offline
    D Offline
    deleted396
    wrote on last edited by
    #1

    Hello friends, i have done my app deployable to use in other laptops with the windows tool to include the DLLs. That's work properly now but i have a new problem. When i run the executable doesn't appear the background picture and also, i was using MySQL drivers and i receive a message that it says that the drivers not loaded.

    However, if I run my app in QT creator this issues don't appear, what is the problem?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • D deleted396

      Hello friends, i have done my app deployable to use in other laptops with the windows tool to include the DLLs. That's work properly now but i have a new problem. When i run the executable doesn't appear the background picture and also, i was using MySQL drivers and i receive a message that it says that the drivers not loaded.

      However, if I run my app in QT creator this issues don't appear, what is the problem?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:

      what is the problem?

      That your deployment is missing some files...

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      D 1 Reply Last reply
      2
      • Pablo J. RoginaP Pablo J. Rogina

        @AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:

        what is the problem?

        That your deployment is missing some files...

        D Offline
        D Offline
        deleted396
        wrote on last edited by
        #3

        @Pablo-J.-Rogina but for example, in my code i have the path to the background picture which it is in other folder. How can i solve it?

        Pablo J. RoginaP 1 Reply Last reply
        0
        • D deleted396

          @Pablo-J.-Rogina but for example, in my code i have the path to the background picture which it is in other folder. How can i solve it?

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @AdrianCruz what if you move the image to the path pointed in your code?

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          D 1 Reply Last reply
          0
          • Pablo J. RoginaP Pablo J. Rogina

            @AdrianCruz what if you move the image to the path pointed in your code?

            D Offline
            D Offline
            deleted396
            wrote on last edited by
            #5

            @Pablo-J.-Rogina the picture is in the same path of my code. How i said, in my code the path is correct, because when i use QT creator to run it, is fix, but with the executable is not working.

            Pablo J. RoginaP 1 Reply Last reply
            0
            • D deleted396

              @Pablo-J.-Rogina the picture is in the same path of my code. How i said, in my code the path is correct, because when i use QT creator to run it, is fix, but with the executable is not working.

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @AdrianCruz could you please show us some code and folder structure of your application? if not, it's going blind this way. Hard to actually see/understand what is going on...

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              D 1 Reply Last reply
              0
              • W Offline
                W Offline
                will smith
                wrote on last edited by
                #7

                I am also facing this same problem. Have you got your answer? I have asked about this matter to Apple Customer Support but they also can't help me. If anyone can then please help us.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi,

                  How exactly did you deploy your application ?
                  What path are you using to load that picture ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Pablo J. RoginaP Pablo J. Rogina

                    @AdrianCruz could you please show us some code and folder structure of your application? if not, it's going blind this way. Hard to actually see/understand what is going on...

                    D Offline
                    D Offline
                    deleted396
                    wrote on last edited by
                    #9

                    @Pablo-J.-Rogina

                    I take the picture with the next code :

                    QPixmap bkgnd("../InterfazKinect/img/foto_index_sinTXT.png");
                    

                    With this code, the background appears properly. Now, i am using Desktop Qt 5.10.0 with MinGW, building with debug. I added the missing DLLs with windows tool.

                    Now, i am using my .exe of the folder debug to run the app and the background is empty and also, i am using MySQL in the application and when i try to connect to the database, the app says that the driver not loaded (of MySQL) and I solved this problem previosly.

                    Then in conclusion, my app is running properly in QT creator but, not using the executable.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      deleted396
                      wrote on last edited by
                      #10

                      Seems that the app didn't finf the folder, the problem with the picture is fixed, but the problem with MySQL isn't still working. I have the DLLs in the same folder than my app but I receive the message "driver not loaded"

                      Pablo J. RoginaP 1 Reply Last reply
                      0
                      • D deleted396

                        Seems that the app didn't finf the folder, the problem with the picture is fixed, but the problem with MySQL isn't still working. I have the DLLs in the same folder than my app but I receive the message "driver not loaded"

                        Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #11

                        @AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:

                        I have the DLLs in the same folder than my app

                        please take a look at documentation regarding deploying plugins

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        D 1 Reply Last reply
                        2
                        • Pablo J. RoginaP Pablo J. Rogina

                          @AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:

                          I have the DLLs in the same folder than my app

                          please take a look at documentation regarding deploying plugins

                          D Offline
                          D Offline
                          deleted396
                          wrote on last edited by
                          #12

                          @Pablo-J.-Rogina searching in internet I can see that the people uses libmysql-dll but this file isn't in my folder. Maybe that is the problem?? How can i include this file in my project ?

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            deleted396
                            wrote on last edited by
                            #13

                            Finally, I've found libmysql.dll in the MySQL folder and I've copied in my folder. Now is working. thanks so much!

                            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