Solved installed Creator 4.9.0 and found build issues
-
Hi all -
A project that formerly built now gives link errors suggesting it can't find a particular library. My project file contains this:
INCLUDEPATH += "C:\Program Files (x86)\Expat 2.2.5\Source\lib" LIBS += "C:\Program Files (x86)\Expat 2.2.5\Bin\libexpat.lib"
I did have to reconfigure when I opened this project. Any ideas what I might have done to incur these errors?
Thanks...
EDIT: now builds but won't run. Please see details below.
-
@mzimmers
as far as I know, \ is an escape character inside your pro file, independently of the os.so \\ or /
-
@J.Hilk you probably mean double backslash
\\
But I'd go for the forward slash
/
-
Good catch, guys, but unfortunately didn't fix it; still getting the same errors.
-
- which compiler is that?
- did you change the Qt version too?
- How does the linker command line looks like?
Note that the more portable way would be
LIBS+=-L/path/to/lib -llibrary
* but on Windows your variant should work too.- e.g.
libm.so
would be given as-lm
-
Hi aha -
You found it...when I did my configuration, I chose the 64-bit compiler (guess the expat library doesn't work with it). I created a new configuration with the 32-bit compiler, and it builds fine now.
Thanks!
-
Well, it builds fine, but...now it won't run (heh). Here's the output of the debug log; can someone decode this and tell me what I'm doing wrong? Thanks...
wNote: This log contains possibly confidential information about your machine, environment variables, in-memory data of the processes you are debugging, and more. It is never transferred over the internet by Qt Creator, and only stored to disk if you manually use the respective option from the context menu, or through mechanisms that are not under the control of Qt Creator's Debugger plugin, for instance in swap files, or other plugins you might use. wYou may be asked to share the contents of this log when reporting bugs related to debugger operation. In this case, make sure your submission does not contain data you do not want to or you are not allowed to share. w dStart parameters: 'wifibutton_utility' mode: 1 dABI: x86-windows-msys-pe-32bit dLanguages: c++ dExecutable: C:\Users\MZimmers\CD desktop apps\Qt projects\build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\debug\wifibutton_utility.exe dDirectory: C:\Users\MZimmers\CD desktop apps\Qt projects\build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug dDebugger: C:\Qt\Tools\mingw730_32\bin\gdb.exe dProject: C:\Users\MZimmers\CD desktop apps\Qt projects\wb_utility dAdditional Search Directories: dSysroot: dDebug Source Location: dDebugger settings: dAdditionalArguments: (default: ) dAdjustBreakpointLocations: true (default: true) dAllPluginBreakpoints: true (default: true) dAlwaysAdjustColumnWidths: true (default: true) dAutoDerefPointers: false (default: true) *** dAutoEnrichParameters: true (default: true) dAutoQuit: false (default: false) dBreakEvent: (default: ) dBreakOnAbort: false (default: false) dBreakOnCatch: false (default: false) dBreakOnCrtDbgReport: false (default: false) dBreakOnFatal: false (default: false) dBreakOnThrow: false (default: false) dBreakOnWarning: false (default: false) dBreakpointCorrection: true (default: true) dBreakpointsFullPath: false (default: false) dCDB_Console: false (default: false) dCloseBuffersOnExit: true (default: false) *** dCloseMemoryBuffersOnExit: true (default: true) dDisplayStringLimit: 100 (default: 100) dEnableReverseDebugging: false (default: false) dExtraDumperFile: (default: ) dFirstChanceExceptionTaskEntry: true (default: true) dFontSizeFollowsEditor: false (default: false) dGdbCustomDumperCommands: (default: ) dGdbPostAttachCommands: (default: ) dGdbStartupCommands: (default: ) dIdentifyDebugInfoPackages: false (default: false) dIgnoreFirstChanceAccessViolation: false (default: false) dIntelFlavor: false (default: false) dLoadGdbDumpers2: false (default: false) dLoadGdbInit: true (default: true) dLogTimeStamps: false (default: false) dMaximalStackDepth: 20 (default: 20) dMaximalStringLength: 10000 (default: 10000) dMultiInferior: false (default: false) dNoPluginBreakpoints: false (default: false) dQmlInspector.ShowAppOnTop: false (default: false) dRaiseOnInterrupt: true (default: true) dRegisterForPostMortem: false (default: false) dSecondChanceExceptionTaskEntry: true (default: true) dSelectedPluginBreakpoints: false (default: false) dSelectedPluginBreakpointsPattern: .* (default: .*) dShowQObjectNames2: true (default: true) dShowQmlObjectTree: true (default: true) dShowQtNamespace: true (default: true) dShowStandardNamespace: true (default: true) dShowThreadNames: false (default: false) dSkipKnownFrames: false (default: false) dSortStructMembers: true (default: true) dSourcePaths: (default: ) dStationaryEditorWhileStepping: false (default: false) dSwitchModeOnExit: false (default: false) dSymbolPaths: (default: ) dTargetAsync: false (default: false) dUseAddressInBreakpointsView: false (default: false) dUseAddressInStackView: false (default: false) dUseAlternatingRowColours: false (default: false) dUseCodeModel: true (default: true) dUseDebuggingHelper: true (default: true) dUseDynamicType: true (default: true) dUseMessageBoxForSignals: true (default: true) dUsePythonDumper: true (default: true) dUseToolTips: true (default: true) dUseToolTipsInBreakpointsView: false (default: false) dUseToolTipsInLocalsView: false (default: false) dUseToolTipsInStackView: true (default: true) dWarnOnReleaseBuilds: true (default: true) dWatchdogTimeout: 20 (default: 20) dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) dCALL: SETUP ENGINE dTRYING TO START ADAPTER dENABLING TEST CASE: 0 dSTARTING C:/Qt/Tools/mingw730_32/bin/gdb.exe --tty=\\.\pipe\creator-16504-14661 -i mi dGDB STARTED, INITIALIZING IT <103show version <104show debug-file-directory <105set print object on <106set breakpoint pending on <107set print elements 10000 <108set unwindonsignal on <109set width 0 <110set height 0 Setting up inferior... <111set substitute-path C:/work/build/qt5_workdir/w/s C:/Qt/5.12.3/mingw73_32/../Src <112set substitute-path Q:/qt5_workdir/w/s C:/Qt/5.12.3/mingw73_32/../Src <113set substitute-path c:/Users/qt/work/install C:/Qt/5.12.3/mingw73_32/../Src <114set substitute-path c:/users/qt/work/qt C:/Qt/5.12.3/mingw73_32/../Src <115python sys.path.insert(1, 'C:/Qt/Tools/QtCreator/share/qtcreator/debugger/') <116python sys.path.append('C:/Qt/Tools/mingw730_32/bin/data-directory/python') <117python from gdbbridge import * <118python theDumper.loadDumpers({"token":118}) >=thread-group-added,id="i1" >~"GNU gdb (GDB) 8.1\n" >~"Copyright (C) 2018 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" >~"This GDB was configured as \"i686-w64-mingw32\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >&"show version\n" >~"GNU gdb (GDB) 8.1\n" >~"Copyright (C) 2018 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" >~"This GDB was configured as \"i686-w64-mingw32\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >103^done dPARSING VERSION: 103^done dSUPPORTED GDB VERSION GNU gdb (GDB) 8.1 dCopyright (C) 2018 Free Software Foundation, Inc. dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> dThis is free software: you are free to change and redistribute it. dThere is NO WARRANTY, to the extent permitted by law. Type "show copying" dand "show warranty" for details. dThis GDB was configured as "i686-w64-mingw32". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". dGNU gdb (GDB) 8.1 dCopyright (C) 2018 Free Software Foundation, Inc. dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> dThis is free software: you are free to change and redistribute it. dThere is NO WARRANTY, to the extent permitted by law. Type "show copying" dand "show warranty" for details. dThis GDB was configured as "i686-w64-mingw32". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". dUSING GDB VERSION: 80100, BUILD: 2018 <119-interpreter-exec console "set target-async off" >&"show debug-file-directory\n" >~"The directory where separate debug symbols are searched for is \"c:\\c\\mingw730\\i686-730-posix-dwarf-rt_v5-rev0\\mingw32\\lib\\debug\".\n" >104^done >&"set print object on\n" >=cmd-param-changed,param="print object",value="on" >105^done >&"set breakpoint pending on\n" >=cmd-param-changed,param="breakpoint pending",value="on" >106^done >&"set print elements 10000\n" >=cmd-param-changed,param="print elements",value="10000" >107^done >&"set unwindonsignal on\n" >=cmd-param-changed,param="unwindonsignal",value="on" >108^done >&"set width 0\n" >=cmd-param-changed,param="width",value="4294967295" >109^done >&"set height 0\n" >110^done >&"set substitute-path C:/work/build/qt5_workdir/w/s C:/Qt/5.12.3/mingw73_32/../Src\n" >111^done >&"set substitute-path Q:/qt5_workdir/w/s C:/Qt/5.12.3/mingw73_32/../Src\n" >112^done >&"set substitute-path c:/Users/qt/work/install C:/Qt/5.12.3/mingw73_32/../Src\n" >113^done >&"set substitute-path c:/users/qt/work/qt C:/Qt/5.12.3/mingw73_32/../Src\n" >114^done >&"python sys.path.insert(1, 'C:/Qt/Tools/QtCreator/share/qtcreator/debugger/')\n" >115^done >&"python sys.path.append('C:/Qt/Tools/mingw730_32/bin/data-directory/python')\n" >116^done >&"python from gdbbridge import *\n" >117^done >&"python theDumper.loadDumpers({\"token\":118})\n" >~"result={token=\"118\",dumpers=[{type=\"std____debug__unordered_set\"},{type=\"boost__variant\"},{type=\"QV4__InternalClass__Transition\"},{type=\"QSizePolicy\"},{type=\"QtcDumperTest_PointerArray\"},{type=\"std__list\"},{type=\"QmakeProjectManager__QmakeProFileNode\"},{type=\"QtcDumperTest_FieldAccessByIndex\"},{type=\"std__multimap\",formats=\"17\"},{type=\"QUuid\"},{type=\"boost__optional\"},{type=\"QDir\"},{type=\"TNimNode\"},{type=\"QSharedData\"},{type=\"Debugger__Internal__GdbMi\"},{type=\"QV4__PropertyHash\"},{type=\"std__complex\"},{type=\"__m256\"},{type=\"boost__container__list\"},{type=\"CPlusPlus__Symbol\"},{type=\"std____debug__unordered_multimap\",formats=\"17\"},{type=\"std____1__complex\"},{type=\"std__deque\"},{type=\"std___Rb_tree_const_iterator\"},{type=\"QFixed\"},{type=\"uint8_t\"},{type=\"std____1__set__iterator\"},{type=\"std____debug__stack\"},{type=\"CPlusPlus__StringLiteral\"},{type=\"QPoint\"},{type=\"std____1__vector\",formats=\"16\"},{type=\"QMultiMap\",formats=\"17\"},{type=\"PyTypeObject\"},{type=\"std__byte\"},{type=\"QLocale\"},{type=\"QV4__CallContext\"},{type=\"QJsonPrivate__q_littleendian\"},{type=\"string\",editable=\"true\"},{type=\"std__set\"},{type=\"std___Tree_const_iterator\"},{type=\"__gnu_cxx__hash_set\"},{type=\"QFile\"},{type=\"wstring\",editable=\"true\"},{type=\"QByteArrayData\"},{type=\"CPlusPlus__Literal\"},{type=\"QSizeF\"},{type=\"CPlusPlus__Class\"},{type=\"NimStringDesc\"},{type=\"std__unordered_multimap\",formats=\"17\"},{type=\"QIPv6Address\"},{type=\"QV4__Heap__String\"},{type=\"Utils__ElfSection\"},{type=\"QGraphicsPolygonItem\"},{type=\"Debugger__Internal__DisassemblerLine\"},{type=\"QTypedArrayData\"},{type=\"QPointer\"},{type=\"QMap\",formats=\"17\"},{type=\"std____cxx11__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"std____1__stack\"},{type=\"QArrayData\"},{type=\"QV4__ScopedString\"},{type=\"QChar\"},{type=\"boost__posix_time__time_duration\"},{type=\"std__once_flag\"},{type=\"CPlusPlus__TemplateNameId\"},{type=\"QQmlRefCount\"},{type=\"std____debug__set\"},{type=\"QMetaObject\"},{type=\"QHostAddress\"},{type=\"QV4__Value\"},{type=\"QVariantList\"},{type=\"std__unordered_multiset\"},{type=\"QObjectPrivate__ConnectionList\"},{type=\"QJsonValue\"},{type=\"std____1__shared_ptr\"},{type=\"QV4__SimpleScriptFunction\"},{type=\"CPlusPlus__Internal__Value\"},{type=\"QFileInfo\"},{type=\"QHash__const_iterator\"},{type=\"qfloat16\"},{type=\"ProjectExplorer__FolderNode\"},{type=\"QTime\"},{type=\"QSqlField\"},{type=\"std___Tree_iterator\"},{type=\"QXmlStreamStringRef\"},{type=\"CPlusPlus__PointerType\"},{type=\"std____1__weak_ptr\"},{type=\"std____debug__unordered_multiset\"},{type=\"QTimeZone\"},{type=\"gsl__span\"},{type=\"boost__bimaps__bimap\"},{type=\"cv__Size_\"},{type=\"std____cxx1998__map\"},{type=\"std____1__map__const_iterator\"},{type=\"QV4__Heap__Base\"},{type=\"QHash\",formats=\"17\"},{type=\"QXmlAttributes\"},{type=\"QHash__iterator\"},{type=\"KDSoapValue1\"},{type=\"QMetaEnum\"},{type=\"QLinkedList\"},{type=\"Utils__FileName\"},{type=\"QVariantHash\"},{type=\"QStack\",formats=\"16\"},{type=\"QBitArray\"},{type=\"std__list__QNX\"},{type=\"Debugger__Internal__BreakpointModelId\"},{type=\"boost__unordered__unordered_set\"},{type=\"Qt__ItemDataRole\"},{type=\"QLazilyAllocated\"},{type=\"std____1__basic_string\"},{type=\"std____cxx11__basic_string\"},{type=\"std__set__const_iterator\"},{type=\"QQmlBinding\"},{type=\"std____1__unique_ptr\"},{type=\"std__map__iterator\"},{type=\"QDate\"},{type=\"std____1__set_const_iterator\"},{type=\"std__stack\"},{type=\"std____weak_ptr\"},{type=\"std__multiset\"},{type=\"std__unordered_map\",formats=\"17\"},{type=\"QJsonPrivate__qle_bitfield\"},{type=\"QV4__Identifier\"},{type=\"__m128\"},{type=\"__m128d\"},{type=\"QTextCodec\"},{type=\"std__shared_ptr\"},{type=\"std____1__wstring\"},{type=\"std__unordered_set\"},{type=\"QEvent\"},{type=\"std__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"QByteArray\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"QtcDumperTest_List__NodeX\"},{type=\"Utf8String\"},{type=\"__m512d\"},{type=\"std____cxx1998__set\"},{type=\"QPixmap\"},{type=\"ProjectExplorer__Node\"},{type=\"std____1__multimap\",formats=\"17\"},{type=\"QMetaClassInfo\"},{type=\"std__map\",formats=\"17\"},{type=\"boost__posix_time__ptime\"},{type=\"QPointF\"},{type=\"std____cxx11__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"Eigen__Matrix\"},{type=\"QImage\",formats=\"2, 4\"},{type=\"QSet\"},{type=\"std__valarray\",formats=\"16\"},{type=\"std__map__const_iterator\"},{type=\"QJsonArray\"},{type=\"CPlusPlus__QualifiedNameId\"},{type=\"std____1__deque\"},{type=\"QFiniteStack\",formats=\"16\"},{type=\"std__set__iterator\"},{type=\"QTextDocument\"},{type=\"QTJSC__JSValue\"},{type=\"QSqlResultPrivate\"},{type=\"NimGenericSequence__\"},{type=\"QRegion\"},{type=\"std__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"QV4_Object\"},{type=\"QBasicAtomicInt\"},{type=\"QScriptValue\"},{type=\"QMetaProperty\"},{type=\"QDateTime\"},{type=\"std____1__unordered_set\"},{type=\"std____1__map__iterator\"},{type=\"boost__gregorian__date\"},{type=\"CPlusPlus__Token\"},{type=\"std__pair\"},{type=\"std__set__QNX\"},{type=\"std____1__list\"},{type=\"std__deque__MSVC\"},{type=\"CPlusPlus__ByteArrayRef\"},{type=\"QProcEnvKey\"},{type=\"boost__shared_ptr\"},{type=\"QV__PropertyHash\"},{type=\"Core__Id\"},{type=\"std__basic_string\"},{type=\"std____debug__vector\",formats=\"16\"},{type=\"QRectF\"},{type=\"QAtomicInt\"},{type=\"__m256i\"},{type=\"QQmlSourceLocation\"},{type=\"QKeyEvent\"},{type=\"Debugger__Internal__WatchData\"},{type=\"__m256d\"},{type=\"KDSoapValue\"},{type=\"std____1__set\"},{type=\"PyVarObject\"},{type=\"gsl__byte\"},{type=\"QPolygonF\"},{type=\"QXmlStreamAttribute\"},{type=\"int8_t\"},{type=\"QStandardItemData\"},{type=\"QV4__SharedInternalClassData\"},{type=\"QQmlAccessorProperties__Properties\"},{type=\"QHashedString\"},{type=\"QtcDumperTest_String\"},{type=\"ProjectExplorer__Kit\"},{type=\"QV4__ExecutionContext\"},{type=\"ProKey\"},{type=\"WTF__String\"},{type=\"std__vector\",editable=\"true\",formats=\"16\"},{type=\"QV4__FunctionObject\"},{type=\"PyObject\"},{type=\"std____1__multiset\"},{type=\"std____1__unordered_map\",formats=\"17\"},{type=\"QV4__IdentifierTable\"},{type=\"__m512i\"},{type=\"QV4__InternalClassTransition\"},{type=\"__m128i\"},{type=\"QVariantMap\",formats=\"17\"},{type=\"QStringRef\"},{type=\"std____debug__map\"},{type=\"std____debug__list\"},{type=\"QStaticStringData\"},{type=\"QVariant (QVariantMap)\",formats=\"17\"},{type=\"QSize\"},{type=\"Debugger__Internal__WatchItem\"},{type=\"QPolygon\"},{type=\"std____1__string\"},{type=\"QSharedDataPointer\"},{type=\"QV__PropertyHashData\"},{type=\"QStringList\"},{type=\"std___Rb_tree_iterator\"},{type=\"QString\",editable=\"true\",formats=\"2, 4\"},{type=\"std__optional\"},{type=\"std__deque__QNX\"},{type=\"CPlusPlus__Identifier\"},{type=\"QRegExp\"},{type=\"QTextCursor\"},{type=\"QFlags\"},{type=\"QStringData\"},{type=\"std____debug__unordered_map\",formats=\"17\"},{type=\"QList\",formats=\"18, 19\"},{type=\"QJsonPrivate__qle_signedbitfield\"},{type=\"QSharedPointer\"},{type=\"QUrl\",formats=\"2, 4\"},{type=\"QmakeProjectManager__QmakePriFileNode\"},{type=\"cv__Mat\",formats=\"4\"},{type=\"QVarLengthArray\"},{type=\"QV4__Object\"},{type=\"std____debug__deque\"},{type=\"std__unique_ptr\"},{type=\"QScopedPointer\"},{type=\"__m512\"},{type=\"std____1__map\",formats=\"17\"},{type=\"QStandardItem\"},{type=\"QtcDumperTest_BufArray\"},{type=\"QMapNode\"},{type=\"Core__GeneratedFile\"},{type=\"QObjectConnectionList\"},{type=\"std____1__array\",formats=\"16\"},{type=\"std____1__valarray\",formats=\"16\"},{type=\"QVariant\"},{type=\"QV4__String\"},{type=\"QVector\",editable=\"true\",formats=\"16\"},{type=\"ProjectExplorer__ProjectNode\"},{type=\"CPlusPlus__Internal__PPToken\"},{type=\"Debugger__Internal__ThreadId\"},{type=\"std____1__once_flag\"},{type=\"QHashNode\",formats=\"17\"},{type=\"QV4__Scoped\"},{type=\"ProString\"},{type=\"_typeobject\"},{type=\"Utils__Port\"},{type=\"QV4__CompilationUnit\"},{type=\"ProjectExplorer__ToolChain\"},{type=\"std__experimental__optional\"},{type=\"QTemporaryFile\"},{type=\"QXmlAttributes__Attribute\"},{type=\"std__function\"},{type=\"QJsonObject\"},{type=\"QRect\"},{type=\"CPlusPlus__IntegerType\"},{type=\"std__array\",formats=\"16\"},{type=\"CMakeProjectManager__Internal__CMakeProjectNode\"},{type=\"QJSValue\"},{type=\"std____cxx11__list\"},{type=\"CPlusPlus__FullySpecifiedType\"},{type=\"__gnu_debug___Safe_iterator\"},{type=\"QV4__ScriptFunction\"},{type=\"QSizePolicy__Policy\"},{type=\"QtcDumperTest_List\"},{type=\"QWeakPointer\"},{type=\"std__weak_ptr\"},{type=\"QMetaMethod\"},{type=\"QAtomicPointer\"},{type=\"CPlusPlus__NamedType\"},],python=\"20709\"}\n" >118^done dENGINE SUCCESSFULLY STARTED Setting breakpoints... dSetting breakpoints... dTAKING OWNERSHIP OF BREAKPOINT 1 dTAKING OWNERSHIP OF BREAKPOINT 4 <120-gdb-set environment PATH=C:\Qt\5.12.3\mingw73_32\lib;C:\Qt\5.12.3\mingw73_32\bin;C:\Qt\Tools\mingw730_32\bin;C:\Qt\5.12.3\mingw73_32\bin;C:\Qt\Tools\mingw730_32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Python;C:\Program Files\doxygen\bin;C:\Qt\5.11.1\mingw53_32\bin;C:\Qt\Tools\mingw530_32\bin\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\dotnet\;C:\Program Files\Zerynth\ztc\windows64;C:\Program Files\CMake\bin;C:\WINDOWS\System32\OpenSSH\;C:\Users\mzimmers.CYBERDATA\AppData\Local\Microsoft\WindowsApps;C:\Users\mzimmers.CYBERDATA\AppData\Local\GitHubDesktop\bin;C:\Users\mzimmers.CYBERDATA\AppData\Local\Microsoft\WindowsApps;C:\Apache24\bin;;C:\Users\mzimmers.CYBERDATA\AppData\Local\Programs\Microsoft VS Code\bin <121-gdb-set environment QTDIR=C:\Qt\5.12.3\mingw73_32 <122cd C:/Users/MZimmers/CD desktop apps/Qt projects/build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug <123-file-exec-and-symbols "C:/Users/MZimmers/CD desktop apps/Qt projects/build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug/debug/wifibutton_utility.exe" dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"main.cpp\":21" dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY <124-break-insert -f "\"main.cpp\":21" dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"main.cpp\":14" dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY <125-break-insert -f "\"main.cpp\":14" >119^done >120^done >121^done >&"cd C:/Users/MZimmers/CD desktop apps/Qt projects/build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\n" >~"Working directory C:\\Users\\MZimmers\\CD desktop apps\\Qt projects\\build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug.\n" >122^done >123^done >124^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0040162f",func="qMain(int, char**)",file="..\\wb_utility\\main.cpp",fullname="C:\\Users\\MZimmers\\CD desktop apps\\Qt projects\\wb_utility\\main.cpp",line="21",thread-groups=["i1"],times="0",original-location="main.cpp:21"} >125^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x004015f3",func="qMain(int, char**)",file="..\\wb_utility\\main.cpp",fullname="C:\\Users\\MZimmers\\CD desktop apps\\Qt projects\\wb_utility\\main.cpp",line="14",thread-groups=["i1"],times="0",original-location="main.cpp:14"} dALL COMMANDS DONE; INVOKING CALLBACK dNOTE: ENGINE SETUP OK dState changed from EngineSetupRequested(1) to EngineSetupOk(3) dState changed from EngineSetupOk(3) to EngineRunRequested(4) dCALL: RUN ENGINE <126-exec-run >=thread-group-started,id="i1",pid="20620" Thread group i1 created. dTaking notice of pid 20620 >=thread-created,id="1",group-id="i1" Thread 1 created. >~"[New Thread 20620.0x4b90]\n" [New Thread 20620.0x4b90] >=thread-created,id="2",group-id="i1" Thread 2 created. >~"[New Thread 20620.0x5498]\n" [New Thread 20620.0x5498] >=thread-created,id="3",group-id="i1" Thread 3 created. >~"[New Thread 20620.0x5578]\n" [New Thread 20620.0x5578] >=thread-created,id="4",group-id="i1" Thread 4 created. >~"[New Thread 20620.0x4c7c]\n" [New Thread 20620.0x4c7c] >~"[Thread 20620.0x5498 exited with code 3221225781]\n" [Thread 20620.0x5498 exited with code 3221225781] >=thread-exited,id="2",group-id="i1" Thread 2 in group i1 exited. >~"[Thread 20620.0x5578 exited with code 3221225781]\n" [Thread 20620.0x5578 exited with code 3221225781] >=thread-exited,id="3",group-id="i1" Thread 3 in group i1 exited. >=thread-exited,id="1",group-id="i1" Thread 1 in group i1 exited. >=thread-exited,id="4",group-id="i1" Thread 4 in group i1 exited. >=thread-group-exited,id="i1" Thread group i1 exited. dNOTE: INFERIOR EXITED dState changed from EngineRunRequested(4) to InferiorShutdownFinished(14) dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15) dCALL: SHUTDOWN ENGINE dPLAIN ADAPTER SHUTDOWN 15 dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2 <127python theDumper.exitGdb({"token":127}) >126^error,msg="During startup program exited with code 0xc0000135." eERROR: UNEXPECTED STATE: EngineShutdownRequested WANTED: EngineRunRequested IN C:\Users\qt\work\build\qt-creator\src\plugins\debugger\gdb\gdbengine.cpp:4420 dDuring startup program exited with code 0xc0000135. dNOTE: ENGINE RUN FAILED Run failed. dState changed from EngineShutdownRequested(15) to EngineRunFailed(5) dState changed from EngineRunFailed(5) to EngineShutdownRequested(15) dCALL: SHUTDOWN ENGINE dPLAIN ADAPTER SHUTDOWN 15 dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2 <128python theDumper.exitGdb({"token":128}) dQUIT DEBUGGER REQUESTED IN STATE 15 >&"python theDumper.exitGdb({\"token\":127})\n" dGDB PROCESS FINISHED, status 0, exit code 0 dNOTE: ENGINE SHUTDOWN FINISHED dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16) Debugger finished. dState changed from EngineShutdownFinished(16) to DebuggerFinished(17)
-
Bump...anyone have ideas?
-
@mzimmers It looks like the app does not start correctly... can you Run it without debugger (i.e. Ctrl+R)?
-
@aha_1980 said in installed Creator 4.9.0 and found build issues:
@mzimmers It looks like the app does not start correctly... can you Run it without debugger (i.e. Ctrl+R)?
Nope. I get an error:
11:02:06: Starting C:\Users\MZimmers\CD desktop apps\Qt projects\build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\debug\wifibutton_utility.exe ... 11:02:06: The program has unexpectedly finished. 11:02:06: The process was ended forcefully. 11:02:06: C:/Users/MZimmers/CD desktop apps/Qt projects/build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug/debug/wifibutton_utility.exe crashed.
-
I've tried modifying my kit to run with MinGW 5.3 and 7.3. Same results.
Anyone have any ideas?
-
C:\Users\MZimmers\CD desktop apps\Qt projects\build-wifibutton_utility-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\debug\wifibutton_utility.exe
Probably not your current problem, but please: Don't use spaces and special characters in project and build path names. It will hit you.
Have you already tried to start the program outside Creator (after proper deployment)?
-
aha: I like the questions you ask -- they generally lead me to finding the problem.
In this instance, the problem was that I'd lost a build step when I reconfigured. I'd been doing a make install to include a 3rd-party library; this got lost when I upgraded (and reconfigured).
On the subject of specifying installs from the project file, here's how I'm doing it now:
expatInstallsDebug.files = "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.lib" \ "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.dll" expatInstallsDebug.path = $$OUT_PWD/debug expatInstallsRelease.files = "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.lib" \ "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.dll" expatInstallsRelease.path = $$OUT_PWD/release INSTALLS += expatInstallsDebug expatInstallsRelease
Is there a way to avoid the redundancies in the above?
And...I'll get to removing the spaces from those file paths very soon.
-
Hi @mzimmers
aha: I like the questions you ask -- they generally lead me to finding the problem.
That's my intention :)
Is there a way to avoid the redundancies in the above?
I'd try the following (untested and not sure it works)
EXPAT_FILES = "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.lib" \ "C:/Program Files (x86)/Expat 2.2.5/Bin/libexpat.dll" expatInstallsDebug.files = $$EXPAT_FILES expatInstallsDebug.path = $$OUT_PWD/debug expatInstallsRelease.files = $$EXPAT_FILES expatInstallsRelease.path = $$OUT_PWD/release INSTALLS += expatInstallsDebug expatInstallsRelease
Also, I compile my programs with
CONFIG -= debug_and_release
on Windows, which simplifies the output folders (no extra debug and release subfolders). Note that this is only safe with shadow-builds, as on Windows debug and release objects cannot be mixed (another nice source for hard-to-track errors).That would save you from these $$OUT_PWD/(debug|release) constructs - but you'd need to adjust other build system parts probably.
Regards