Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Design Tooling
  3. Qt Design Studio
  4. Export project to CMake Files fails

Export project to CMake Files fails

Scheduled Pinned Locked Moved Solved Qt Design Studio
3 Posts 2 Posters 1.1k 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.
  • BaroneAshuraB Offline
    BaroneAshuraB Offline
    BaroneAshura
    wrote on last edited by
    #1

    Hello,
    I am pretty new to the Qt Framework, and I am trying to learn things.

    I created a project using QT Design Studio, and I am quite happy about the overall result.
    I'd like to start moving towards the implementation of business logic, hence I wanted to export the the project using the "File->Export->Generate CMake Build Files..." menu entry.

    But it fails with the following message:
    a608e4c6-4d26-4e95-9859-778985530264-image.png

    I am using QT Design Studio 4.4.40 and I am trying to exprto a project created for Qt 5.5 using a community license.

    What am I doing wrong?

    1 Reply Last reply
    0
    • BaroneAshuraB Offline
      BaroneAshuraB Offline
      BaroneAshura
      wrote on last edited by
      #2

      Well... it ended up that apparently I was not doing anything wrong...
      unfortuntely what I wanted to achieve cant be achieved when using Qt 5.x, but only for Qt 6.x

      1 Reply Last reply
      0
      • BaroneAshuraB BaroneAshura has marked this topic as solved on
      • T Offline
        T Offline
        Thomas Hartmann
        wrote on last edited by
        #3

        The cmake export only works for Qt 6 based projects, since Qt 5 does not support the CMake API used.
        For Qt 5 you can export a .qrc file and follow those instructions (Converting into qmake Projects):
        https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html

        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