Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. external docker cmake for qt
Forum Updated to NodeBB v4.3 + New Features

external docker cmake for qt

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 240 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.
  • I Offline
    I Offline
    icegood
    wrote on last edited by
    #1

    Hi all.
    In my work project, I have many project dependencies that I cannot satisfy on the host by apt-get or similar.

    I was inspired by article https://www.qt.io/blog/docker-builds-from-qtcreator
    and created my external cmake via simple script:
    #!/bin/bash
    echo args=$@
    docker exec -w $(pwd) <my_docker> cmake $@

    My project has no QT, so qt stuff was skipped.
    I was even able to configure my project properly:

    -- Configuring done
    -- Generating done
    
    -- Build files have been written to: ...
    

    However, I can neither see project tree on host nor compile it. In latter case i obtained:

    13:58:33: Configuration is faulty. Check the Issues view for details.
    Error while building/deploying project bluetooth (kit: DockerNoQT)
    When executing step "CMake Build"
    

    how do i configure project properly so i will see on host both project structure with proper highlight and be able to build on host?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From a quick look at the guide, you are completely missing the volume parameters to persist the data generated back to your host.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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