kseinitzer / qconan

conan plugin for QtCreator
GNU Lesser General Public License v2.1
9 stars 1 forks source link

`conan install` does not print anything in `General messages` and i can not find any conan related files generated by conan install #22

Open blockspacer opened 3 years ago

blockspacer commented 3 years ago

My system info and info about plugin setup process:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

My plugin setup process:

wget https://download.qt.io/official_releases/qtcreator/4.11/4.11.2/qt-creator-opensource-linux-x86_64-4.11.2.run
chmod +x ./qt-creator-opensource-linux-x86_64-4.11.2.run
./qt-creator-opensource-linux-x86_64-4.11.2.run
wget https://github.com/kseinitzer/qconan/releases/download/v0.2.0/conan-4.11.2-Linux-x64.zip
# extracted...
cp ~/Downloads/libconan.so ~/qtcreator-4.11.2/lib/qtcreator/plugins/
# plugin works...

My conan profile clang

[settings]
# We are building in Ubuntu Linux

os_build=Linux
os=Linux
arch_build=x86_64
arch=x86_64

compiler=clang
compiler.version=10
compiler.libcxx=libstdc++11

[env]
CC=/usr/bin/clang-10
CXX=/usr/bin/clang++-10

[build_requires]
cmake_installer/3.15.5@conan/stable

My qconan.ini:

[global]
installFlags=--profile=clang -s build_type=Debug -s cling_conan:build_type=Release -s llvm_tools:build_type=Release -o openssl:shared=True -e chromium_base:enable_tests=True -o chromium_base:shared=True

Full repo with qconan.ini:

git clone https://github.com/blockspacer/chromium_base_conan.git

conan install does not print anything in General messages, see logs below.

Note that i can not find any conan related files generated by conan install from plugin

ls /home/denis/code/build-chromium_base_conan-Clang_10-Debug
CMakeFiles  cmake_utils  cmake_utils-build  external_dependencies

Full log printed in QtCreator General messages:

conan plugin: Found settings file
conan plugin: Found conanfile at >conanfile.py<
conan plugin: Found conanfile at >conanfile.py<
conan plugin: Run conan install /home/denis/code/chromium_base_conan/conanfile.py -g json --profile=clang -s build_type=Debug -s cling_conan:build_type=Release -s llvm_tools:build_type=Release -o openssl:shared=True -e chromium_base:enable_tests=True -o chromium_base:shared=True for >/home/denis/code/chromium_base_conan/conanfile.py< in >/home/denis/code/build-chromium_base_conan-Clang_10-Debug<
conan plugin: Use library path information from conan ><
Running /home/denis/cmake-3.20.0-rc3-linux-x86_64/bin/cmake /home/denis/code/chromium_base_conan '-GCodeBlocks - Unix Makefiles' -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_CXX_COMPILER:STRING=/usr/bin/clang++ -DCMAKE_C_COMPILER:STRING=/usr/bin/clang -DCMAKE_PREFIX_PATH:STRING=/usr -DQT_QMAKE_EXECUTABLE:STRING=/usr/lib/qt5/bin/qmake in /home/denis/code/build-chromium_base_conan-Clang_10-Debug.
-- The CXX compiler identification is Clang 10.0.0
-- The C compiler identification is Clang 10.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done