Hi,
Das mit dem LDFLAGS += -mwindows hab ich probiert, hat allerdings keine Auswirkung.
Es steht zwar drin und wir auch von Eclipse registriert also praktisch angezeigt aber dennoch hängt er kein flag an den befehl
In der Konsole kommen jetzt schöne Warungen like this:
Code: Alles auswählen
d:\Qt\4.4.3\bin\qmake -win32 -o Makefile FK.pro
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: CONFIG
Project MESSAGE: Warning: unknown QT: +=
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: TEMPLATE
Project MESSAGE: Warning: unknown QT: =
Project MESSAGE: Warning: unknown QT: app
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: CONFIG
Project MESSAGE: Warning: unknown QT: +=
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: TEMPLATE
Project MESSAGE: Warning: unknown QT: =
Project MESSAGE: Warning: unknown QT: app
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: CONFIG
Project MESSAGE: Warning: unknown QT: +=
Project MESSAGE: Warning: unknown QT: console
Project MESSAGE: Warning: unknown QT: TEMPLATE
Project MESSAGE: Warning: unknown QT: =
Project MESSAGE: Warning: unknown QT: app
Meine .pro file sieht so aus:
Code: Alles auswählen
LDFLAGS += -mwindows
QT += console \
CONFIG \
+= \
console \
TEMPLATE \
= \
app
TARGET = FK
QT += core \
gui
HEADERS += SP.h \
fk.h
SOURCES += SP.cpp \
main.cpp \
fk.cpp
FORMS += fk.ui
RESOURCES +=
LDFLAGS += -mwindows
Bevor ich das -mwindows angehängt hatte war noch alles ok.