windows - qt in windows7 environment -
i having problem running example qt uses win32 libraries. when compile don't errors when run not able open application (.exe) file in windows 7. when compile example in windowsxp works fine. can let me know whether need change .pro file in order worked under windows 7?
here .pro file:
# ------------------------------------------------- # project created qtcreator 2010-04-16t11:45:43 # ------------------------------------------------- qt += network qt += xml qt += opengl target = application template = app sources += main.cpp \ mainwindow.cpp \ tools.cpp \ objects.cpp headers += mainwindow.h \ tools.h\ objects.h unix { objects_dir = .obj moc_dir = .moc } # unix installation isempty(prefix):prefix = /usr/local unix { headers.path = $$prefix/include/zip headers.files = $$headers target.path = $$prefix/lib installs += headers \ target } !mac:x11:libs += -ldns_sd win32:libs += -ldnssd libpath = c:/temp/mdnsresponder-107.6/mdnswindows/dll/debug includepath += c:/temp/mdnsresponder-107.6/mdnsshared
you can use dependency walker find out qt dlls needed , copy them same folder .exe.
Comments
Post a Comment