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. Testing installs on a dev box
Forum Updated to NodeBB v4.3 + New Features

Testing installs on a dev box

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 222 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.
  • W Offline
    W Offline
    Wolosocu
    wrote on 28 Dec 2019, 22:29 last edited by
    #1

    Generally on a dev box we have all our paths set so that a Qt application can easily find the Qt (and other) libs that it needs. However, this creates a challenge when you're writing an installer for your app and want to make sure an installation will run ok on a different machine.

    macOS's sandbox mode is pretty good for this. For other OSes, I suspect the best test is probably an actual different non-dev machine, or a VM.

    I'm curious what other solutions people have come up with? For example, on Windows, I'm tempted to temporarily reset my paths and try like that, but I'd like to hear what others have done...

    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 28 Dec 2019, 22:44 last edited by mrjj
      #2

      Hi
      I use virtual machines as its very handy and you can make sure its always clean.
      (like vmwares snapshot feature)
      I can even try update something and very easy reset it back. ( whole system)

      Since you can just download one from ms
      https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
      the only real cost is diskspace :)

      1 Reply Last reply
      2
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 29 Dec 2019, 08:15 last edited by
        #3

        Hi,

        Rather than having "too easy" access to dependencies, I rather make them easy to use so that each project can be quick to setup but that outside of it, it looks like a standard box. This has the benefit of being able to isolate different project development as well as testing.

        Outside of that, a CI is also a good way to test your code in an environment different than your box.

        And if you want to ensure your application and deployment works as expected then tools like VirtualBox or VMWare like @mrjj suggested are very good as you can keep a clean machine ready, do your installation and tests and then rollback to the point before and start again.

        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
        2

        1/3

        28 Dec 2019, 22:29

        • Login

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