tell me how to do? Msvs2010 Qt is installed, and also installed visual add on plug-ins. Whether in Qt or vs2010 in will not work.
------ Solution ---------------------------------------- ----
IDE li is also not up and running, the program in question.
single-step debugging, to find the wrong place.
------ For reference only -------------------------------------- -
Seek expert to solve! !
------ For reference only -------------------------------------- -
if it is double click exe, it is missing dll. Qt library dll is not in default environment variable.
------ For reference only -------------------------------------- -
+1
plugin windows encapsulated in plugins / platforms / qwindows.dll (seems to be) in
------ For reference only ----------------- ----------------------
I missing DLL, it had never been a similar error. Which always prompts missing DLL, or simply no response.
My experience is generally always somewhere in the program there is an error: then use qDebug () or cout locate which line error, and then gradually find out the real reason.
------ For reference only -------------------------------------- -
I put this program into the qt installation directory's bin folder. What dll that there should have it. But still this error!
------ For reference only -------------------------------------- -
VS to run how about?
------ For reference only -------------------------------------- -
is the same!
------ For reference only -------------------------------------- -
certainly a question of procedure.
------ For reference only -------------------------------------- -
at least to these bars, in the bin folder ~ ~ pulled the project folder
------ For reference only ---------------- -----------------------
procedures should be no problem. I was directly using qt wizard to create a program, that did not turn over.
------ For reference only -------------------------------------- -
I pulled the generated exe file in the bin folder, or not.
------ For reference only -------------------------------------- -
sent me the source code, I see:
fs.lanchat (AT) gmail.com
------ For reference only ------------------------- --------------
QT is the wizard to create a program. I chose Qt GUI.
------ For reference only ------------------------------ ---------
someone know?
------ For reference only ---------------------- -----------------
Today I have encountered this problem! Search for a long long time did not try to solve ...... if you tell me, oh resolved.
I vs2010 under confused, Ctrl + F5 perform no problem, that is, double-click the exe file error.
------ For reference only ----- ----------------------------------
Is there no one knows how to do? Thank you first! !
------ For reference only -------------------------------------- -
normal operating procedures in the IDE, indicating that the program is no problem,
Double exe can not run because: Qt's dll is not in the system environment variables, exe can not find the Qt dll. The need to copy the dll to the exe directory just fine.
------ For reference only -------------------------------------- -
This is not my mistake. My mistake though, and hints about this error, but under vs2010. ide also appeared in this issue.
------ For reference only -------------------------------------- -
I use the qt files generated by the wizard, no changes. Compiler no problem. Found that a single-step debugging:
QApplication a (argc, argv);
appeared that an execution error.
------ For reference only -------------------------------------- -
has been resolved! As long as all the Replace like.
------ For reference only -------------------------------------- -
This is because of the need to load called "windows" this plugin, but did not find this plugin (that DLL libraries)
QT QT installed by default in the directory% QTDIR \ plugins automatically find and load
1. using copy library files to the system $ PATH directory can solve the problem, but it will later update the library file version when it is easy to cause problems;
2. If using VS editor, then you can modify the project properties corresponding path settings can also solve the problem;
3. The best way is through QApplication :: addLibraryPath (...) to increase library load path, such as
Code: QApplication :: addLibraryPath (QApplication :: applicationFilePath () + QDir :: separator () + "plugins");, publisher when the QT installation directory in plugins or select an entire folder of the library must be copied to the run the program the same directory
------ For reference only -------------------- -------------------
What All reload? Reload VS2010, reinstall Qt?
------ For reference only ------------------------------ ---------
main.cpp in into QApplication a (argc, argv); on OK
------ For reference only ---------------------------------------
landlord, how back thing. Trouble that the next! All reload? Explain! Thank you!
------ For reference only -------------------------------------- -
do not have all the heavy equipment, just add a dll can be friends, is this libEGLd.dll (debug version)
没有评论:
发表评论