Cloned from https://github.com/nathan-osman/qredis and modified it according to Qt6.
Go to file
Nathan Osman def99b199b Added C++11 support for GCC to the build system. 2013-06-29 12:39:34 -07:00
include/qredis Added requirements to README and started implementing some of the Client methods. 2013-06-29 12:34:22 -07:00
src Added C++11 support for GCC to the build system. 2013-06-29 12:39:34 -07:00
.gitignore Initial commit 2013-06-28 15:58:50 -07:00
CMakeLists.txt Added C++11 support for GCC to the build system. 2013-06-29 12:39:34 -07:00
LICENSE Added the full text of the MIT license to the project. 2013-06-29 11:40:09 -07:00
README.md Added requirements to README and started implementing some of the Client methods. 2013-06-29 12:34:22 -07:00

README.md

QRedis

QRedis provides a modern Qt client library for communicating with a Redis server. The code uses many new constructs introduced in C++11 and compiles exclusively with Qt 5, ensuring years of compatibility down the road.

Requirements

To compile QRedis, the following requirements must be met:

  • GCC 4.6+ or Microsoft Visual C++ 2010+
  • Qt 5+

It is not necessary to have Redis installed in order to build the client library. However, you will be unable to run the test suite.

Building QRedis

QRedis uses CMake for building the client library, which simplifies the necessary steps across all supported platforms. Assuming you have Qt 5 installed in a location that CMake can find, the client library can be built with the following steps:

  1. Open a terminal and navigate to the directory containing the QRedis source code.

  2. Create a new directory that will contain the object and binary files produced by the build system and change to that directory:

     mkdir build
     cd build
    
  3. Run CMake, which will produce the appropriate Makefile for your platform:

     cmake ..
    
  4. On Unix-based build systems (including MSYS and Cygwin), run:

     make
    

    For Microsoft Visual C++, run:

     nmake
    

Usage

[TODO]