Skip to content

Borwe/qtcreator-wakatime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QT Creator Wakatime plugin

Information:

This repo is a fork of https://github.com/BlurryLight/qtcreator-wakatime which is a fork of https://github.com/nonametr/qtcreator-wakatime. The original repo provides binary plugin up to Qtc4.9, which is too old to work with the latest Qtc, and this is a fork from https://github.com/BlurryLight/qtcreator-wakatime.

Aim:

QtCreator plugin for automatic time tracking and metrics generated from your programming activity by using wakatime.

Releases:

The builds in the release section will require the following combinations of QT creator and Qt combo

QT Creator Version QT Version used
6.0.1 6.2.2
6.0.0 6.2.2
5.0.3 5.15.2
5.0.2 5.15.2
5.0.1 5.15.2
5.0.0 5.15.2
4.15.2 5.15.2
4.15.1 5.15.2
4.15.0 5.15.2
4.14.2 5.15.2
4.14.1 5.15.2
4.14.0 5.15.2

Build From Source:

Build instructions for Ubuntu(should be same for other distributions):

Requirements:

  • A C++ compiler, eg: GCC, Clang, MSVC. Make sure it supports C++17
  • tar executable, should come by default in Windows 10, and linux we use unzip NOTE: install it if you find problems during extraction stage, enable debug to see when it fails to extract.
  • CMake
  • Qt 5.15 (the one currently used) or above
  • QtCreator source from https://github.com/qt-creator/qt-creator.git

Steps:

  1. git clone https://github.com/qt-creator/qt-creator.git

  2. cd qt-creator

  3. If you are building plugin for QtCreator 4.14.0 run 'git checkout origin/v4.14.0' or list all branches with 'git branch -a' and pick required version.

  4. Build 'qt-creator' details here https://doc-snapshots.qt.io/qtcreator-extending/getting-and-building.html (also you can run build from other Qt Creator).

  5. Run:

    cd qtcreator-wakatime/
    mkdir build && cd build
    cmake ../ -DCMAKE_BUILD_TYPE=Release -DQTC_BUILD_PATH=/path/to/where/you/built/qtcreator
    cmake --build . --config Release
    
  6. Afterwards you should see a shared library libWakatime.so or Wakatme.dll or whatever your platform shows for shared libraries, zip it, then add it via plugin menu in Qtcreator

    Help > About Plugins > Install Plugin... > point to where the zip was created 
    
  7. Plugin should now be ready for use, just restart qtcreator.

Usage

preview

About

wakatime plugin for qtcreator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.1%
  • CMake 6.4%
  • C 0.5%