Skip to content

Commit

Permalink
Drop broken qmake support
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Mar 8, 2021
1 parent 6bfa468 commit 55931c7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 49 deletions.
32 changes: 8 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,23 @@ FakeVim is library to emulate Vim in QTextEdit, QPlainTextEdit and possibly othe
Build
-----

To build the library and simple example editor (in `example` directory), run following commands.
To build the library and simple example editor (in `example` directory), run
following commands:

qmake
cmake .
make

Preferably use **CMake to install** the library.

cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
make install

Build and run **example with **QMake**:

cd example
qmake && make
./example

Build and run **example with **CMake**:

cd example
fakevim_DIR=/usr/local/lib/cmake/fakevim cmake && make
cmake -DBUILD_EXAMPLE=1 .
make
./fakevim_example

Build and run **tests with QMake**:

cd tests
qmake && make
./tests

Build and run **tests with CMake**:

cd tests
fakevim_DIR=/usr/local/lib/cmake/fakevim cmake && make
./fakevim_tests
cmake -DBUILD_TESTS=1 .
make
ctest

Supported Features
------------------
Expand Down
3 changes: 0 additions & 3 deletions fakevim.pro

This file was deleted.

12 changes: 0 additions & 12 deletions fakevim/fakevim.pri

This file was deleted.

3 changes: 0 additions & 3 deletions fakevim/fakevim.pro

This file was deleted.

6 changes: 0 additions & 6 deletions fakevim/utils/utils.pri

This file was deleted.

2 changes: 1 addition & 1 deletion python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export PYTHON=${PYTHON:-python}
# Project and library paths
export PROJECT_PATH=${PROJECT_PATH:-"$PWD/.."}
export INCLUDE_PATH=${INCLUDE_PATH:-"$PROJECT_PATH"}
export LIBRARY_PATH=${LIBRARY_PATH:-"$PROJECT_PATH/fakevim"}
export LIBRARY_PATH=${LIBRARY_PATH:-"$PROJECT_PATH"}
export SIP_FILE_PATH=${SIP_FILE_PATH:-"$PROJECT_PATH/python/fakevim.sip"}

# PyQt path to sip files (e.g. "QtCore/QtCoremod.sip"). Defaults to
Expand Down

0 comments on commit 55931c7

Please sign in to comment.