Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #54 (new defect)

Opened 14 years ago

Last modified 13 years ago

Procedure entry point "_Z17qt_message_output9QtMsgTypePKc" not found in DLL QtCore4.dll

Reported by: maxter Assigned to: somebody
Priority: critical Version:
Keywords: Cc: mrmocool@gmx.de

Description

generator.exe fails with this error on 64-bit Windows.

Change History

07/01/10 13:20:26 changed by Trass3r

Your exe also fails to run with said error message.

07/01/10 13:58:09 changed by maxter

Strange. If it loads the correct 32-bit DLL and the symbol is there, it should resolve it. Copy the DLL to the directory with the generator and see what happens?

07/01/10 18:42:26 changed by Trass3r

  • cc set to mrmocool@gmx.de.

strange, if I copy from qt/bin it shows "?cap@QRegExp@@QAE?AVQString@@H@Z" if I copy from bin, it shows the same msg as before.

07/02/10 08:25:28 changed by maxter

Now we know that initially the wrong DLL was loaded, meaning bin is searched before qt/bin. DLLs in bin are loaded by QtCreator? itself and are not supposed to be used by other applications.

Please make sure that qt/bin goes before bin in PATH. Otherwise, you will have to copy appropriate qt/bin/Qt*4.dll DLLs to the directory with the application or alternatively use manifest files. Also, make sure you are not using that exe of mine.

07/02/10 10:05:23 changed by Trass3r

Well bin is not in PATH, just qt/bin Also I once renamed the dll in bin and it still showed the same error. Furthermore a search couldn't unveil such a dll in the Windows directories. Just strange.

07/02/10 11:38:33 changed by maxter

I am out of ideas. Looks like there is no qtd for 64-bit Windows yet.

08/03/10 13:30:34 changed by Trass3r

Updated QtD and tried again. generator\abstractmetalang.cpp: In member function 'bool AbstractMetaFunction::needsCallThrough() const': generator\abstractmetalang.cpp:169:6: internal compiler error: Segementation fault

(follow-up: ↓ 10 ) 08/03/10 14:39:49 changed by Trass3r

Tried with Visual Studio x64. It complained about CMakeLists.txt:144 (message(FATAL_ERROR "${CMAKE_GENERATOR} is not supported")) and 170 (add_dependencies(install preinstall))

After removing them the following errors occured: http://codepad.org/lKsdLicB

11/20/10 21:46:28 changed by Anonymous

I built QtD on Win7 64 bit without any problem. Shall we close this one?

(in reply to: ↑ 8 ) 11/21/10 04:15:49 changed by jcao219

Replying to Trass3r:

Tried with Visual Studio x64. It complained about CMakeLists.txt:144 (message(FATAL_ERROR "${CMAKE_GENERATOR} is not supported")) and 170 (add_dependencies(install preinstall)) After removing them the following errors occured: http://codepad.org/lKsdLicB

I was able to fix that problem by using the GCC that came with QtD SDK (and uninstalling/removing from the path all other installations of GCC)

11/21/10 04:16:44 changed by jcao219

I'm getting this error: Cannot find source file "QTextCodec_shell.cpp" when building on Windows 7 32-bit.

11/24/10 21:30:40 changed by Trass3r

I tried again with MinGW 32 and 64:

E:\Qt\QtD\generator\abstractmetalang.cpp: In member function 'bool AbstractMetaF unction::needsCallThrough() const': E:\Qt\QtD\generator\abstractmetalang.cpp:169:6: internal compiler error: Segment ation fault