@@ -91,7 +91,7 @@ int startShell(int argc, const char** argv, void* server)
91 QGuiApplication::setApplicationName("Unity 8");
91 QGuiApplication::setApplicationName("Unity 8");
92 QGuiApplication *application;
92 QGuiApplication *application;
93 if (isUbuntuMirServer) {
93 if (isUbuntuMirServer) {
94− QLibrary unityMir("unity-mir");
94+ QLibrary unityMir("unity-mir", 1);
95 unityMir.load();
95 unityMir.load();
97 typedef QGuiApplication* (*createServerApplication_t)(int&, const char **, void*);
97 typedef QGuiApplication* (*createServerApplication_t)(int&, const char **, void*);
@@ -193,7 +193,7 @@ int main(int argc, const char *argv[])
193 // If we use unity-mir directly, we automatically link to the Mir-server
193 // If we use unity-mir directly, we automatically link to the Mir-server
194 // platform-api bindings, which result in unexpected behaviour when
194 // platform-api bindings, which result in unexpected behaviour when
195 // running the non-Mir scenario.
195 // running the non-Mir scenario.
196− QLibrary unityMir("unity-mir");
196+ QLibrary unityMir("unity-mir", 1);
197 unityMir.load();
197 unityMir.load();
198 if (!unityMir.isLoaded()) {
198 if (!unityMir.isLoaded()) {
199 qDebug() << "Library unity-mir not found/loaded";
199 qDebug() << "Library unity-mir not found/loaded";