• R/O
  • HTTP
  • SSH
  • HTTPS

MUtilities: 仓库概述

MUtilities development repository


Recent Commits RSS

Rev. 时间 作者 Message
0eb3b32 2023-06-18 21:28:45 LoRd_MuldeR master Added support for VS2022 Update-6.
6b55280 2023-04-08 19:40:20 LoRd_MuldeR Disabled a few warnings in "Debug" configuration.
3aca9f4 2023-03-08 04:35:15 LoRd_MuldeR v1.16 Updated copyright year.
f1a0018 2022-06-16 23:46:10 LoRd_MuldeR Re-generated documents.
49e64e2 2022-06-16 23:44:01 LoRd_MuldeR Updated copyright year.
7410d11 2022-06-16 22:49:19 LoRd_MuldeR Added support for newer version of VS2022 + ignore the sa...
7605972 2021-12-25 08:40:13 LoRd_MuldeR Small code simplification in OS detection code.
8ec1f69 2021-12-25 08:04:23 LoRd_MuldeR Small improvement in OS detection code.
ac4df08 2021-12-25 04:02:34 LoRd_MuldeR Small improvement in OS detection code.
6b44e71 2021-12-24 05:31:43 LoRd_MuldeR Small code refactoring.

Recently edited Tags

名称 Rev. 时间 作者
v1.16 3aca9f4 2023-03-08 04:35:50 LoRd_MuldeR
v1.15 d53c29d 2021-08-30 01:11:19 LoRd_MuldeR
v1.14 4ba5510 2019-12-19 04:46:48 LoRd_MuldeR
v1.13 5f2cd70 2019-08-09 21:25:45 LoRd_MuldeR
v1.12 0ee1100 2019-05-11 06:24:22 LoRd_MuldeR
v1.11 5a54e22 2018-11-10 22:54:37 LoRd_MuldeR
v1.10 a427804 2018-04-30 21:42:09 LoRd_MuldeR
v1.09 f26e95d 2018-04-15 01:58:45 LoRd_MuldeR
v1.08 5816183 2017-06-01 03:51:09 LoRd_MuldeR
v1.07 ed6167b 2016-12-14 23:04:58 LoRd_MuldeR
v1.06 59c60a9 2015-12-12 23:17:08 LoRd_MuldeR
v1.05 612a3c0 2015-10-24 04:05:29 LoRd_MuldeR
v1.02 0ade062 2015-04-06 01:22:42 LoRd_MuldeR

Branches

名称 Rev. 时间 作者 Message
master 0eb3b32 2023-06-18 21:28:45 LoRd_MuldeR Added support for VS2022 Up...

README.md

% MUtilities – README % Created by LoRd_MuldeR <<mulder2@gmx>> – check http://muldersoft.com/ for news and updates!

Introduction

The MUtilities library is a collection of routines and classes to extend the Qt cross-platform framework. It contains various convenience and utility functions as well as wrappers for OS-specific functionalities. The library was originally created as a "side product" of the LameXP application: Over the years, a lot of code, not really specific to LameXP, had accumulated in the LameXP code base. Some of that code even had been used in other projects too, in a "copy & paste" fashion – which had lead to redundancy and much complicated maintenance. In order to clean-up the LameXP code base, to eliminate the ugly redundancy and to simplify maintenance, the code in question has finally been refactored into the MUtilities (aka "MuldeR's Utilities for Qt") library. This library now forms the foundation of LameXP and other OpenSource projects.

Project Structure

The MUtilities project directory is organized as follows:

  • bin/ – compiled library files (static or shared), link those files in projects that use the MUtilities library
  • docs/ – programming interface documentation, generated with Doxygen tool
  • etc/ – miscellaneous files, everything that doesn't fit in anywhere else
  • include/ – public header files, include this directory in projects that use the MUtilities library
  • obj/ – object code files, intermediate files generated during the build process
  • res/ – resource files, required for building the MUtilities library
  • src/ – source code files, required for building the MUtilities library (third-party code in src/3rd_party/)
  • test/ – unit tests, based on Google Test framework
  • tmp/ – temporary files, automatically generated during the build process

Example

Here is a minimal example on how to use the MUtilities library in your project:

//MUtils
#include <MUtils/Global.h>

int main(int argc, char **argv)
{
    qDebug("Random number: %u\n", MUtils::next_rand_u32());
}

Build Notes

  • In order to use the MUtilities library in your project, your build environment must have already been set up for building Qt-based projects. Setting up Qt is not covered by this document.
  • Additionally, make sure that MUtilities' include/ directory is contained in your "Additional Include Directories" and that the MUtilities' bin/ directory is contained in your "Additional Library Directories".
  • Finally, make sure that your project links against the MUtils32-1.lib library file. For each build configuration, pick the proper .lib file from the corresponding bin/<platform>/<config>/ directory!
  • If your projects intends to use the MUtilities library as a static library, then the macro MUTILS_STATIC_LIB must be added to your project's "Preprocessor Definitions".

API Documentation

A fully-fledged documentation of the MUtilities programming interface (API) is available thanks to Doxygen. Please see docs/index.html for details!

License

This library is free software. It is released under the terms of the GNU Lesser General Public License (LGPL), Version 2.1.

MUtilities - MuldeR's Utilities for Qt
Copyright (C) 2004-2023 LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.

Acknowledgement

The following people have contributed in the development of the MUtilities library:

The following third-party code is used in the MUtilities library:

  • Keccak/SHA-3 Reference Implementation
    Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer
    No Copyright / Dedicated to the Public Domain

  • Natural Order String Comparison
    Copyright (C) 2000, 2004 by Martin Pool <mbp@sourcefrog.net>
    Released under the zlib License

  • Adler-32 Checksum Algorithm (from zlib)
    Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
    Released under the zlib License

 

e.o.f.

Show on old repository browser