Commit fbca39ae authored by Kai Koehne's avatar Kai Koehne

QmlJsDebug: Fix compilation on Linux, Mac

Use camel case for library name all over the place.
parent 6a5eb677
......@@ -12,9 +12,9 @@ DEFINES += BUILD_QMLJSDEBUGGER_STATIC_LIB
unix:QMAKE_CXXFLAGS_DEBUG += -O3
DESTDIR = $$PWD
TARGET=qmljsdebugger
TARGET=QmlJSDebugger
CONFIG(debug, debug|release) {
windows:TARGET=qmljsdebuggerd
windows:TARGET=QmlJSDebuggerd
}
# JS Debugging
......
......@@ -8,9 +8,9 @@ SOURCES += main.cpp
# INCLUDEPATH and library path has to be extended by qmake call
DEBUGLIB=qmljsdebugger
DEBUGLIB=QmlJSDebugger
CONFIG(debug, debug|release) {
windows:DEBUGLIB = qmljsdebuggerd
windows:DEBUGLIB = QmlJSDebuggerd
}
LIBS+=-l$$DEBUGLIB
......
......@@ -56,12 +56,12 @@ QString QmlDebuggingLibrary::libraryByInstallData(const QString &qtInstallData,
QStringList binFilenames;
if (debugBuild) {
binFilenames << QLatin1String("qmljsdebuggerd.lib");
binFilenames << QLatin1String("libqmljsdebuggerd.a"); // mingw
binFilenames << QLatin1String("QmlJSDebuggerd.lib");
binFilenames << QLatin1String("libQmlJSDebuggerd.a"); // mingw
} else {
binFilenames << QLatin1String("qmljsdebugger.lib");
binFilenames << QLatin1String("QmlJSDebugger.lib");
}
binFilenames << QLatin1String("libqmljsdebugger.a");
binFilenames << QLatin1String("libQmlJSDebugger.a");
return byInstallDataHelper(sourcePath(), sourceFileNames(), directories, binFilenames);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment