pyqtc icon indicating copy to clipboard operation
pyqtc copied to clipboard

Compiling issues

Open choyos opened this issue 8 years ago • 2 comments

Hello there, First of all, I must thank you for your effort developing this tool. I am trying to compile it in my laptop, but I can't make it works. I am working on Ubuntu 16.04 I have done the following:

  1. Get protobuf: sudo apt-get install protobuf-compiler
  2. Get Qt creator source code in /usr/src/: sudo git clone https://github.com/qtproject/qt-creator.git
  3. Get pyqtc code in /usr/src/: sudo git clone https://github.com/davidsansome/pyqtc.git
  4. Give both folders user privilegies: sudo chown -R cesar:cesar pyqtc qt-creator
  5. Go inside pyqtc folder and follow steps in README.md:
mkdir bin
cd bin
cmake .. -DQTC_SOURCE=/path/to/qtcreator/source \
         -DQTC_BINARY=/path/to/qtcreator/installation
  1. I am not going with make and make install because cmake runs with errors, returning me:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QTC_AGGREGATION_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_BOTAN_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_CORE_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_CPLUSPLUS_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_EXTENSION_SYSTEM_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_LOCATOR_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_PROJECT_EXPLORER_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin
QTC_UTILS_LIB
    linked by target "pyqtc" in directory /usr/src/pyqtc/plugin

-- Configuring incomplete, errors occurred!
See also "/usr/src/pyqtc/bin/CMakeFiles/CMakeOutput.log".
See also "/usr/src/pyqtc/bin/CMakeFiles/CMakeError.log".

I am not sure to miss anything. What should I do? Thanks for your answer.

choyos avatar Jun 17 '17 13:06 choyos

I am also facing same issues. Please help me.

mkarlan avatar Jul 08 '17 17:07 mkarlan

I am porting pyqtc to new versions of QtCreator. Changes are quick and dirty but it works already. https://github.com/yarolig/pyqtc

yarolig avatar Aug 31 '17 07:08 yarolig