I'm writing a small windows program in Qt for a project at my university (I have never used Qt before). However, when I mail the program to the rest of the members in my project group, they can't run it because they are missing the dll files necessary for it to work. How can I do if I want to build everything into my program (link to source files) instead making it use dll files?
My *.pro file currently looks like this:
As you can see, I have already tried and made an attempt by putting a flag staticlib to the CONFIG variable (I found some other thread in which they had done this), but it seems to have no effect, since the executable have the same size as before (if source files would be build into the program instead of letting it link to dll files, it would be bigger).Code:CONFIG += qt debug staticlib TARGET = "Control Panel" INCLUDEPATH += "../" SOURCES += button.cpp HEADERS += button.h SOURCES += user_interface.cpp HEADERS += user_interface.h SOURCES += main.cpp