Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. link1104:cannot open qtmaind.lib when build release
Forum Updated to NodeBB v4.3 + New Features

link1104:cannot open qtmaind.lib when build release

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.5k 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.
  • S Offline
    S Offline
    suclida
    wrote on last edited by
    #1

    I use vs2017 in win7.
    I don't know why I can't build debug library for qt5.9.1 although I have configure -debug-and-release before bulid qt library.
    However, I can build many release qtgui demo.
    Now, There is something trouble. I set the mode as release neither debug,neither profile, but qtcreator said "link1104:cannot open qtmaind.lib" when I build a demo.

    Why the release building need qtmaind.lib?
    Thank you very much!

    jsulmJ 1 Reply Last reply
    0
    • S suclida

      I use vs2017 in win7.
      I don't know why I can't build debug library for qt5.9.1 although I have configure -debug-and-release before bulid qt library.
      However, I can build many release qtgui demo.
      Now, There is something trouble. I set the mode as release neither debug,neither profile, but qtcreator said "link1104:cannot open qtmaind.lib" when I build a demo.

      Why the release building need qtmaind.lib?
      Thank you very much!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @suclida Try to rerun qmake and do a complete rebuild.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • S Offline
        S Offline
        suclida
        wrote on last edited by
        #3

        Thank you! follow your suggestion and I reopen the qtcreator, it was solved.

        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