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. unresolved external symbol __imp_CommandLineToArgvW referenced in function WinMain
Forum Update on Monday, May 27th 2025

unresolved external symbol __imp_CommandLineToArgvW referenced in function WinMain

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 735 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.
  • E Offline
    E Offline
    easythrees
    wrote on last edited by
    #1

    I'm building the analog clock QWidget example and when I run nmake, I'm seeing an error:

    qtmaind.lib(qtmain_win.obj) : error LNK2019: unresolved external symbol __imp_CommandLineToArgvW referenced in function WinMain

    Why is this happening?

    jsulmJ 1 Reply Last reply
    0
    • E easythrees

      I'm building the analog clock QWidget example and when I run nmake, I'm seeing an error:

      qtmaind.lib(qtmain_win.obj) : error LNK2019: unresolved external symbol __imp_CommandLineToArgvW referenced in function WinMain

      Why is this happening?

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

      @easythrees

      • What Qt version are you using?
      • On which Windows version?
      • What compiler do you use?
      • How do you build: in QtCreator, in Visual Studio, on command line?

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

      1 Reply Last reply
      2

      • Login

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