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. QT CREATOR - where do I put the /NODEFAULTLIB:library?
QtWS25 Last Chance

QT CREATOR - where do I put the /NODEFAULTLIB:library?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.7k Views
  • 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.
  • R Offline
    R Offline
    rreeves84
    wrote on last edited by
    #1

    QT gives the errors:

    @LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
    LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library@

    where do I put the /NODEFAULTLIB:library ?

    I have also started the question on stackoverflow - "Stackoverflow Question":http://stackoverflow.com/questions/17371402/qt-creator-where-do-i-put-the-nodefaultliblibrary?noredirect=1#comment25214552_17371402

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      This has nothing to do with Qt Creator.

      The options go into your PRO file QMAKE_CXXFLAGS as described in the answers to your cross-posted StackOverflow question. There are some useful links in the answers too.

      Something you are linking your Qt code with was not built with the same /MD or /MT option. Since we have no knowledge of what your project includes we cannot be more specific.

      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