Add some console debugging
commit75ed2792c96486d0ae0750a33b8f4260cc4de373
authorMichael Terry <mike@mterry.name>
dateThu 29 Sep 2016, 16:37 (10 years ago)
parent8cd67f9
include/paths.h.in+2−1
@@ -34,10 +34,11 @@ inline bool isRunningInstalled() {
3434 installRoot = snapRoot;
3535 } else if (QCoreApplication::applicationDirPath() ==
3636 QDir(QStringLiteral("@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@")).canonicalPath()) {
37− installRoot = "";
37+ installRoot = QStringLiteral("");
3838 }
3939 installRootSet = true;
4040 }
41+qWarning() << "MIKE isRunningInstalled?" << installRootSet << installRoot << !installRoot.isNull() << snapRoot;
4142 return !installRoot.isNull();
4243}
4344