win stuff

This commit is contained in:
Gerhard Hoffmann 2024-03-11 16:37:06 +01:00
parent 4e13dda29d
commit 34fe915e38
3 changed files with 12 additions and 2 deletions

View File

@ -10,6 +10,11 @@ unix {
LIBS += -L/opt/ptu5/opt/build-ATBTariffCalculator-Desktop_Qt_5_12_12_GCC_64bit-Debug/CalculatorCInterface/ -lCalculatorCInterface
}
win32 {
INCLUDEPATH += C:\Users\G.Hoffmann\Downloads\libgit2-1.7.2\libgit2-1.7.2\include
LIBS += -LC:\build-ATBTariffCalculator-Desktop_Qt_6_5_0_MinGW_64_bit-Release\CalculatorCInterface\release -lCalculatorCInterface
}
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

View File

@ -26,13 +26,13 @@ int main(int argc, char *argv[])
//setDebugLevel(LOG_NOTICE);
}
#ifdef __linux__
#if 1
//TariffCalculatorHandle handle = NewTariffCalculator();
//DeleteTariffCalculator(handle);
if (InitGitLibrary() > 0) {
qCritical() << CloneRepository("https://git.mimbach49.de/GerhardHoffmann/customer_999.git", "/tmp/customer_999");
qCritical() << CloneRepository("https://git.mimbach49.de/GerhardHoffmann/customer_999.git", "C:\\tmp\\customer_999");
ShutdownGitLibrary();
}
#else

View File

@ -8,6 +8,11 @@ unix {
LIBS += -L/usr/lib64 -lgit2
}
win32 {
INCLUDEPATH += C:\Users\G.Hoffmann\Downloads\libgit2-1.7.2\libgit2-1.7.2\include
LIBS += -LC:\Users\G.Hoffmann\Downloads\libgit2-1.7.2\libgit2-1.7.2\build\Debug -lgit2
}
# INCLUDEPATH+=$$_PRO_FILE_PWD_/../Utilities/