Giter VIP home page Giter VIP logo

qtcreatux's Introduction

This little program (which normally should have been a python script...) simply reads the autogenerated files created by the kernel's make prepare and dumps a qmake syntax'd file (autoconf.qmk) containing the proper defines. This file can then be included into a pro file which indexes the kernel source. The result is a properly highlighted browsing experience.

install

cd kconfig2qmk
qmake
make
sudo make install
cd ..
sudo cp genlinuxpro /usr/local/bin

By default, will install the exe to /usr/local/bin)

Usage

  1. create a directory where you'll build the kernel
  2. copy over an existing .config or create a new one using make O=/build/directory/you/created ARCH=?? defconfig (or menuconfig or whatever you prefer)
  3. The kernel's prepare step will generate the input files kconfig2qmk needs. (make make O=/build/directory/you/created ARCH=?? prepare)
  4. genlinuxpro build/directory/you/created (the .pro file will be one dir up, i.e. `build/directory/you' in this example)

This .pro can be opened by qt-creator for browsing and editing.

You can hack qt-creator's build steps to do whatever you want (bitbake virtual/linux -c kernel_modules -c deploy or make in the build dir). You can even use the "deploy" steps to do whatever you need. This configuration all goes in the *.pro.user file next to the .pro.

The generate .pro file contains DEFINES which allow qt-creator's c++ parser to tolerate certain keywords (like 'new') without breaking the nice indexing.

qtcreatux's People

Contributors

jeff-dagenais avatar

Stargazers

Guillaume Champagne avatar nib952051 avatar Pantelis Koukousoulas avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.