Qt Line

Small C++ and Qt application to draw lines without using an already implemented algorithm

Compilation (tested only on linux)

  1. cd into the application's directory
  2. qmake
  3. make


After compiling the application just run ./qt-line and click on the scene to draw lines.

The first left click sets the starting point of a line and the second left click sets the ending point of a line, the process may be repeated many times.

Right click clears the scene.


Copyright 2014 Barbu Paul - Gheorghe

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.