Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

QT statisch einbinden?

Empfohlene Antworten

Veröffentlicht

hallo, also ich wollte mich jetzt eig, mal mit qt beschäfftigen, habe es richtig heruntergeladen und compilet, allerdings funktioniert es immernoch nicht richtig.

ich habe jetzt als beispiel folgenen code:

#include <QtGui\qapplication.h>

int main(int argc,char **argv){
QApplication app(argc,argv);
}[/PHP]

in den einstellungen ist festgelegt:

C/c++: D:\Qt\4.7.3\include;%(AdditionalIncludeDirectories)

Linker: qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)

Eingabe: qtmaind.lib;QtCored4.lib;QtGuid4.lib;%(AdditionalDependencies)

so sollte es eigentlich funktionieren, aber leider meldet es nach dem kompilieren folgenen fehler:

"Das Programm kann nicht gestartet werden, da QTGuid4.dll auf dem Computer fehlt. Installieren Sie das Programm erneut, um das Problem zu beheben."

Das Problem ist jetzt, das die dll existiert, und auch in der PATH-Variable wurde der Pfad richtig eingefügt.

nun stellt sich die frage, warum es nicht funktioniert, und, was mir lieber wäre, wie ich die bibliotheken statisch einbinden kann.

danke für eure antworten.

Laubi

Du bist die sicher, dass in deinem Environment QTDIR=d:\qt\4.7.3 und PATH=%QTDIR%\bin;.... sitzt? Starte mal cmd.exe und schau mit "set <return>" ob der PATH stimmt.

  • 2 Monate später...

Füg mal zum testen die QtGuid4.dll und QtCore4.dll in deinen (.exe) Ordner. Wenns funktioniert passt dein Path nicht

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.