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. Qt6 entry point
Qt 6.11 is out! See what's new in the release blog

Qt6 entry point

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

    Hello,

    I wrote an application using Qt5 in Visual Studio and I tried to migrate to Qt6. When I tried to compile it, I receive an error message becaus the file qtmain.lib that I was using in my linker does not exists anymore in Qt6. So I simply removed qtmain.lib from the linker, bu now I have a new error message:

    MSVCRT.lib(exe_winmain.obj) : error LNK2001: unresolved external symbol WinMain

    How can I solve it?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      It's Qt6EntryPoint now.
      Apart from this - better use CMake or QMake and let create them your VS solution instead doing all manually.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      • Login

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