Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Code that works with qmake does not work with cmake
Forum Updated to NodeBB v4.3 + New Features

Code that works with qmake does not work with cmake

Scheduled Pinned Locked Moved Solved QML and Qt Quick
22 Posts 3 Posters 3.2k Views 1 Watching
  • 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.
  • serkan_trS serkan_tr

    @JKSH said in Code that works with qmake does not work with cmake:

    @serkan_tr You're welcome.

    The d suffix indicates a Debug DLL.

    • If you create a Debug build, then your application will link to Qt5Quickd.dll
    • If you create a Release build, then your application will link to Qt5Quick.dll

    If your application cannot find C:\Users\emsar\workspace\Qt\build-qgroundcontrol-Debug\Qt5Quickd.dll, then it will look for C:\Qt\5.15.2\msvc2019_64\bin\Qt5Quickd.dll

    This all means that your original problem was a deployment problem. It was not related to qmake or CMake.

    Now I'm starting to understand a little more
    but at the end it worked without error when d was deleted. Is it because it was pulled from the qt folder, not directly from the file?

    JKSHJ Offline
    JKSHJ Offline
    JKSH
    Moderators
    wrote on last edited by
    #21

    @serkan_tr said in Code that works with qmake does not work with cmake:

    Is it because it was pulled from the qt folder, not directly from the file?

    Yes. As I said in my previous post: If your application cannot find C:\Users\emsar\workspace\Qt\build-qgroundcontrol-Debug\Qt5Quickd.dll, then it will look for C:\Qt\5.15.2\msvc2019_64\bin\Qt5Quickd.dll

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

    serkan_trS 1 Reply Last reply
    0
    • JKSHJ JKSH

      @serkan_tr said in Code that works with qmake does not work with cmake:

      Is it because it was pulled from the qt folder, not directly from the file?

      Yes. As I said in my previous post: If your application cannot find C:\Users\emsar\workspace\Qt\build-qgroundcontrol-Debug\Qt5Quickd.dll, then it will look for C:\Qt\5.15.2\msvc2019_64\bin\Qt5Quickd.dll

      serkan_trS Offline
      serkan_trS Offline
      serkan_tr
      wrote on last edited by
      #22

      @JKSH
      yes as you said i deleted the files and it worked
      thank you very much for your help

      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