Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Sharing CMakeLists.txt.user between docker container instances
Forum Updated to NodeBB v4.3 + New Features

Sharing CMakeLists.txt.user between docker container instances

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 461 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.
  • V Offline
    V Offline
    vsc9
    wrote on last edited by
    #1

    Wonder if anybody has come across the best/recommended way to share the build & run configuration between different docker containers. As far as I understand, when we use CMake as build system, the build and run config will be recorded in a CMakeLists.txt.user. However, upon transferring .user to a new container, the QByteArray or Id in the .user seems incompatible, hence the build and run config cannot be imported. Any suggestions how to overcome this?

    is there any alternative to transfer these settings? assuming docker environment and CMake build system.

    Thank you!!!

    aha_1980A 1 Reply Last reply
    0
    • V vsc9

      Wonder if anybody has come across the best/recommended way to share the build & run configuration between different docker containers. As far as I understand, when we use CMake as build system, the build and run config will be recorded in a CMakeLists.txt.user. However, upon transferring .user to a new container, the QByteArray or Id in the .user seems incompatible, hence the build and run config cannot be imported. Any suggestions how to overcome this?

      is there any alternative to transfer these settings? assuming docker environment and CMake build system.

      Thank you!!!

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      H i@vsc9,

      so in principle your problem is the same as https://forum.qt.io/topic/101003/qt-creator-shared-project-settings-for-cmake-project

      To keep it short: there is no solution yet, as the .*.user is not thought for sharing.

      Do you build from QtCreator within docker?

      Regards

      Qt has to stay free or it will die.

      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