Results 1 to 5 of 5

Thread: File not found msvcprtd.lib QT

  1. #1
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default File not found msvcprtd.lib QT

    Hi i am trying to compile my project but i get some errors like:

    qtmaind.lib(qtmain_win.obj):-1: error: LNK2038: se detectaron diferencias para 'RuntimeLibrary': el valor 'MDd_DynamicDebug' no coincide con el valor 'MTd_StaticDebug' en main.obj
    And the consequence is for this:

    File not found msvcprtd.lib

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: File not found msvcprtd.lib QT

    You must set the "Runtime Library" property to "Multi-threaded Debug DLL (/MDd)" for all object files in your project, since Qt is compiled this way for MSVC.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Re: File not found msvcprtd.lib QT

    I set the runtime property in my project and seems works fine thanks a lot.

  4. #4
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Re: File not found msvcprtd.lib QT

    Lol again i tried and show me the same error
    Last edited by davinciomare; 29th September 2016 at 16:39.

  5. #5
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Re: File not found msvcprtd.lib QT

    solved i understand all

Similar Threads

  1. Replies: 0
    Last Post: 23rd March 2015, 12:15
  2. Build Qt-based app on Mac OS X, head file not found
    By leonardyu in forum Qt Programming
    Replies: 3
    Last Post: 25th February 2015, 14:01
  3. ui_mainwindow.h file not found
    By unix7777 in forum Qt Programming
    Replies: 4
    Last Post: 17th February 2013, 18:50
  4. Replies: 2
    Last Post: 12th November 2009, 19:05
  5. QSqlDataBase file not found
    By sdastagirmca in forum Qt Programming
    Replies: 3
    Last Post: 5th February 2009, 07:53

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.