Die Suche ergab 3 Treffer
- 23. Mai 2010 13:52
- Forum: Qt Programmierung
- Thema: [gelöst] QPluginLoader + Singleton
- Antworten: 4
- Zugriffe: 1271
- 23. Mai 2010 12:33
- Forum: Qt Programmierung
- Thema: [gelöst] QPluginLoader + Singleton
- Antworten: 4
- Zugriffe: 1271
Danke für die Antwort! Habe das Problem jetzt nachgecodet (wäre sonst zu unübersichtlich ^^). Wenn ich in dem Programm (z.B. mainclass.cc:20) auf meine Singleton Klasse zugreife ( MainClass::instance()->helloWorld(); ) funktioniert das Problemlos. (wäre komisch wenn nicht ^^). Aber sobald ich ein Pl...
- 23. Mai 2010 10:02
- Forum: Qt Programmierung
- Thema: [gelöst] QPluginLoader + Singleton
- Antworten: 4
- Zugriffe: 1271
[gelöst] QPluginLoader + Singleton
Hallo! Bin mir nicht ganz sicher ob dies nicht doch in den C++ bereich gehört, oder hier doch richtig ist. Folgendes Problem: Ich habe ein Hauptklasse welche ich als Singleton implementiert habe. Das klappt soweit gut, nur wenn ich in einem Plugin, welches mittels QPluginLoader geladen wird, auf die...