Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 4.7.0
-
e1b3c3e35 (13.0)
Description
There has been several issues here or in the forum due to project directories with whitespaces or non-ASCII characters [1]. Issues may arise during compiling, when trying to resolve compile error messages or even debugging.
Therefore I suggest to print a warning to the issues list, when such a directory is used for the project or for the shadow build.
[1] Incomplete list:
QTCREATORBUG-761QTCREATORBUG-16805QTCREATORBUG-18098QTCREATORBUG-19925QTCREATORBUG-20831QTCREATORBUG-21895QTCREATORBUG-23481QTCREATORBUG-24462- QTCREATORBUG-24895
- https://forum.qt.io/topic/92791/qt-opens-disassembler-when-debugging
- https://forum.qt.io/topic/99608/can-not-build-application-msvc2017-qt-5-10-1-qt-creator-4-8-1/13
- https://forum.qt.io/topic/103591/error-lnk1181-cannot-open-input-file-debug-exitapp-obj
- https://forum.qt.io/topic/111055/linux-build-fails-with-bin-sh-1-syntax-error-unexpected-when-using-shadow-build-outside-project-directory-parent-containing-bracket/2
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24895 file path accent encoding is wrong in qmake for ui/qrc files
- Reported
-
QTCREATORBUG-21895 spaces in paths cause build failure
- Closed
-
QTCREATORBUG-23174 Spaces in Qt Creator paths cause compilation error. Installer creates spaces.
- Closed
-
QTCREATORBUG-23481 CMake in QtCreator run by user with non ASCII in name does not work properly
- Closed
-
QTCREATORBUG-24462 If a non us-ascii character is used in the project path -> the debugger shows assembly language
- Closed
-
QTCREATORBUG-18442 CMake: Do not generate build directories with spaces in them
- Closed
-
QTCREATORBUG-19925 CMake shadow build is broken for default directory names on non-Latin Windows
- Closed
-
QTCREATORBUG-16805 Accidental leading spaces in build directory input field causes build to fail
- Closed
-
QTCREATORBUG-16945 Warning "The build directory needs to be at the same level as the source directory."
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTCREATORBUG-20834 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250541,3 | BaseQtVersion: Report invalid directories | master | qt-creator/qt-creator | Status: DEFERRED | -2 | 0 |
539980,1 | ProjectExplorer: Warn against "special" characters in build directories | master | qt-creator/qt-creator | Status: ABANDONED | +1 | 0 |
540081,4 | ProjectExplorer: Warn against "special" characters in build directories | 13.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |