How to copy Qt runtime DLLs to project output

OK, here’s an ugly hack: # Copy required DLLs to output directory CONFIG(debug, debug|release) { QtCored4.commands = copy /Y %QTDIR%\\bin\\QtCored4.dll debug QtCored4.target = debug/QtCored4.dll QtGuid4.commands = copy /Y %QTDIR%\\bin\\QtGuid4.dll debug QtGuid4.target = debug/QtGuid4.dll QMAKE_EXTRA_TARGETS += QtCored4 QtGuid4 PRE_TARGETDEPS += debug/QtCored4.dll debug/QtGuid4.dll } else:CONFIG(release, debug|release) { QtCore4.commands = copy /Y %QTDIR%\\bin\\QtCore4.dll release QtCore4.target = release/QtCore4.dll QtGui4.commands … Read more

Console input with Qt Creator

I found a solution. With Qt Creator 1.3.0 (on Mac OS X), here is what I had to do : Project->Run settings, check “Run in Terminal” (thanks Ropez) Qt Creator->Preferences : Environnement : General : Terminal : I had to put the whole path to XTerm. For my config, I had to put /usr/x11/bin/xterm -e. … Read more

How to configure CDB in Qt Creator?

I was having the same problems too, and finally figured out how to solve this. Styne666 gave me a hint. Do the following: Tools Options… Build & Run Tool Chains Use the “Clone” button to make a copy of each of the auto-detected MSVC items In each of the cloned items, you can specify the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)