Some problems with QT programming under Windows

xiaoxiao2021-03-06  111

I downloaded several versions of Qt under Windows: QT-Win-free-3.3.1, QT-Win-Free-MSVC-3.3.1 There is also a Qt3.0.5msvc Eval version. The EVAL version expired, but only this version adds a plug-in to the ADDIN directory of the VC, and other versions are not. And only this version with Assitant and Designer, the other team version is not a GUI tool. Install QT It seems that you must first run Bin / Configure.exe using QMAKE generated Pro files seem to have problems, Make always said ::

XXX.ObJ: Error LNK2001: Unresolved External Symbol "Private: static struct qstringdata * qstring :: shared_null" (? shared_null @ qstring @@ 0pauqstringData @@ a)

It usually needs to add as follows in the PRO file:

Config = qtconfig = threadDefines = qt_dll

After processing, compile can pass, but always crash when running, don't know why

转载请注明原文地址:https://www.9cbs.com/read-126925.html

New Post(0)