Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. How do you add a file to a meson project?
Forum Updated to NodeBB v4.3 + New Features

How do you add a file to a meson project?

Scheduled Pinned Locked Moved Unsolved Qt 6
1 Posts 1 Posters 1.2k 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.
  • J Offline
    J Offline
    johnglen
    wrote on last edited by
    #1

    Maybe the GUI is unintuitive. The user experience certainly is.

    I moved a set of files to the directory to use them in my project. I get a warning: "warning this file is not part of any project." Ok, but there is no way easy to add the files! They are in my meson.build file. I have successfully built using the custom command "meson compile". the generated executable works as expected.

    And no, there is no .pro file to edit because it is a meson project! Do I seriously need to manually add hundreds of empty files and copy the contents into each one?

    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