Results 1 to 15 of 15

Thread: Deploying Qt apps compiled with Visual C++ Express Edition

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Deploying Qt apps compiled with Visual C++ Express Edition

    But why would I want to use MSVC++ if it's so much more complicated to deploy my apps then?
    Does it have any benefits (except for binaries which are a little smaller)?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Deploying Qt apps compiled with Visual C++ Express Edition

    Quote Originally Posted by wmnnd View Post
    But why would I want to use MSVC++ if it's so much more complicated to deploy my apps then?
    Does it have any benefits (except for binaries which are a little smaller)?
    It's not more complicated if you write the entire app using it. It CAN get more complicated if you write your app in QtCreator and then port it across to MSVC++ for the final deployment, which is what you said in your first post.

    If you don't want the hassles of using two different compilers, then stick with the one you prefer. I know I wouldn't want to do the entire app using QtCreator, then all the testing, and then port and re-test under MSVC++. I'd use one and stick with it.

  3. #3
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Deploying Qt apps compiled with Visual C++ Express Edition

    Quote Originally Posted by wmnnd View Post
    But why would I want to use MSVC++ if it's so much more complicated to deploy my apps then?
    Does it have any benefits (except for binaries which are a little smaller)?
    I think it is not more compilcated - you just have to ship different dlls than with MinGW. (something like mscrt90.dll or something)
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  4. #4
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Deploying Qt apps compiled with Visual C++ Express Edition

    But why would I want to use MSVC++ if it's so much more complicated to deploy my apps then?
    Does it have any benefits (except for binaries which are a little smaller)?
    Check this post and this link.
    It seems that not only the size but better performance. Personally I use QtCreator, I prefer it better, and not being a professional, I prefer KISS (keep it simple stupid) and save myself the pain of installing MSCV and putting it to work. Besides I dont like the ideia of having to install the MS Redistributable Package

    Hi,
    how can I use that package? I never used it.
    Just download it from Microsoft site and install it.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  5. #5
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Deploying Qt apps compiled with Visual C++ Express Edition

    I'm using QtCreator under Windows7 but without MinGW, so it uses Visual Studio toolchain, which I have installed on my system.
    If you have Visual Studio installed then there is in path like this:
    C:\Program Files (x86)\Microsoft Visual Studio 8\VC\redist\x86
    are dirs with required dlls. CRT are base dlls (C RunTime).
    Also you can have look here which is a sub page of this page.
    Also you can use Dependency Walker to determine which of those dlls are used by your app.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. Qt and Visual Studio Express Edition 2008
    By PUK_999 in forum Installation and Deployment
    Replies: 1
    Last Post: 20th August 2009, 13:36
  2. Replies: 1
    Last Post: 8th February 2009, 15:08
  3. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails
    By axeljaeger in forum Installation and Deployment
    Replies: 4
    Last Post: 5th July 2006, 05:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.