Skip to content
QtWS25 Last Chance
  • Can't set up CMake. Getting errors.

    Solved General and Desktop cmake error c++ qt designer vscode
    12
    0 Votes
    12 Posts
    4k Views
    J
    @jsulm I used to believe that the only way to create a C++ GUI was through Qt Design Studio, as I had never created anything in C++ other than console programs. I've created a GUI in Python in the past with it. However, I stumbled upon examples in Qt Creator that use .ui files. I'm familiar with this approach, having worked with UI and widgets before. I believe I'll continue using widgets since they don't show any errors when the program is executed. I will close this conversation as I no longer require assistance with qml. If I encounter any further issues, I'll post on a forum if I'm unable to resolve them myself. Thank you to everyone who tried to help me.
  • Q_OBJECT macro not working

    Unsolved General and Desktop qobject vscode cmake
    4
    0 Votes
    4 Posts
    469 Views
    J.HilkJ
    @ugo_ I'm failing to see CMAKE_AUTOMOC in your cmake file, did you forget to enable moc for your project? Nope, I'm just blind :D