Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Deploy and dll's
Forum Updated to NodeBB v4.3 + New Features

Deploy and dll's

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 2.4k 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.
  • X Offline
    X Offline
    XerXi
    wrote on last edited by
    #1

    Hi all,

    I'm developing a project which has two mobile applications.
    I want to testing it but when I try to deploy the second application MS-Studio 2008 launches the error "enough space". I guess that it is because all libraries or dll are copying two times, one time per application.

    What is the way to copy the libraries or dll only one time and call from the two applications?

    The libraries are "msvcr90d.dll", "QtCored4.dll" and "QtGuid4.dll". Is not there any path where copy these files only one time?

    Thanks,
    Sergi BC

    SergiBC - Developer

    1 Reply Last reply
    0
    • X Offline
      X Offline
      XerXi
      wrote on last edited by
      #2

      I try to copy these libraries in \Windows path and it works.

      But is it a good sollution?

      So, how will I deploy the entire project?

      SergiBC - Developer

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jsveiga
        wrote on last edited by
        #3

        Hi Sergi, (I think this should belong to the "General and Desktop" section?)

        Maybe this is not the ideal solution, but for the Qt programs we develop for the company's internal use, we have all required dlls copied together in a "\Program Files\QtProgs" directory, with the executables themselves. I also send out the dlls to be installed in the same dir as the executable when I have to send programs to someone else, to avoid version conflicts (if you have Qt programs in the PC using different Qt versions, which one would be at \Windows?).

        I also noticed you have Qt*d.dll, the "d" meaning you are compiling with the "debug" target. If you are not using the debugger, compile to "release" to get faster/smaller results.

        BR,

        Joao

        1 Reply Last reply
        0
        • X Offline
          X Offline
          XerXi
          wrote on last edited by
          #4

          Thank you very much for your reply.

          I'm new in Qt and didn't know the difference betten Qt*.dll and Qt*d.dll, THANKS!

          I wrote this post in this section because I was refering to copy dll on the mobile devices. So, do you recommend me to install two applications in the same path with all dll's needed?

          Best regards!

          SergiBC - Developer

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jsveiga
            wrote on last edited by
            #5

            Hi Sergi,

            Sorry, I hadn't realized the mobile devices you mentioned ran windows CE/Mobile. When you mentioned MS-Studio and the dlls I thought you were targeting a desktop for testing the apps.

            If you are developing for Symbian^3, at least the N8 already comes with Qt 4.6.3, so when you install the .sis you created, it will find all needed libraries on the phone.

            If you are developing for S60, it is necessary to install the Qt runtime libraries from a separate .sis (which may be done by the Smart Installer
            http://wiki.forum.nokia.com/index.php/Nokia_Smart_Installer_for_Symbian ).

            I never installed on Win Mobile/WinCE, but yes, it seems the recommended procedure is to have the dlls in the same folder as the executables (this is mentioned in the "Running the Application" at
            http://doc.qt.nokia.com/4.7-snapshot/wince-with-qt-introduction.html )

            Best regards,
            Joao

            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