Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved The same problem

    Installation and Deployment
    2
    9
    2051
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vvruspat
      vvruspat last edited by

      I have the same problem. Valid path is /Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/lib', but i think, compiler split the spaces.
      It produce such errors:
      no such file or directory: 'HD'
      no such file or directory: '1/Developer/QT/5.6/clang_64/lib'

      Any ideas how to fix it?

      Re: OS X Yosemite no such file or directory: '1/Qt/5.5/clang_64/lib'

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        Can you show your PRO file?
        Compiler does not split anything. The problem is probably that the paths are passed without surrounding "".
        Paths should be inside "", then it should work even with spaces.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        vvruspat 1 Reply Last reply Reply Quote 0
        • vvruspat
          vvruspat @jsulm last edited by vvruspat

          @jsulm

          QT += core gui

          greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

          TARGET = Test
          TEMPLATE = app

          SOURCES += main.cpp
          mainwindow.cpp

          HEADERS += mainwindow.h

          FORMS += mainwindow.ui

          1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion last edited by

            Can you post the complete build log?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            vvruspat 2 Replies Last reply Reply Quote 0
            • vvruspat
              vvruspat @jsulm last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • vvruspat
                vvruspat @jsulm last edited by vvruspat

                @jsulm

                After rebuild, i have found a bad string. But don't know how to change it. Here is the double slash
                -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -framework

                13:12:32: Starting: "/usr/bin/make"
                '/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/bin/uic' ../Test/mainwindow.ui -o ui_mainwindow.h
                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Test -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtWidgets.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtGui.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/mkspecs/macx-clang -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -o main.o ../Test/main.cpp
                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Test -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtWidgets.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtGui.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/mkspecs/macx-clang -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -o mainwindow.o ../Test/mainwindow.cpp
                '/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/bin/moc' -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -I'/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/mkspecs/macx-clang' -I/Users/vvruspat/Test -I'/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/lib/QtWidgets.framework/Headers' -I'/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/lib/QtGui.framework/Headers' -I'/Volumes/Macintosh HD 1/Developer/QT/5.6/clang_64/lib/QtCore.framework/Headers' -I. -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib ../Test/mainwindow.h -o moc_mainwindow.cpp
                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Test -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtWidgets.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtGui.framework/Headers -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/mkspecs/macx-clang -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -o moc_mainwindow.o moc_mainwindow.cpp
                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wl,-rpath,/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -o Test.app/Contents/MacOS/Test main.o mainwindow.o moc_mainwindow.o -F/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib -framework QtWidgets -framework QtGui -framework QtCore -framework OpenGL -framework AGL
                clang: error: no such file or directory: 'HD'
                clang: error: no such file or directory: '1/Developer/QT/5.6/clang_64/lib'
                make: *** [Test.app/Contents/MacOS/Test] Error 1

                1 Reply Last reply Reply Quote 0
                • jsulm
                  jsulm Lifetime Qt Champion last edited by

                  Problem are lines like this one:

                  -I/Volumes/Macintosh\ HD\ 1/Developer/QT/5.6/clang_64/lib/QtCore.framework/Headers
                  

                  But I don't know how to fix this.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  vvruspat 1 Reply Last reply Reply Quote 0
                  • vvruspat
                    vvruspat @jsulm last edited by

                    @jsulm i think, this pathes stores in enviroment variables, but i dont know where...

                    1 Reply Last reply Reply Quote 0
                    • vvruspat
                      vvruspat last edited by

                      I solved this problem by creating a symbolic link to the folder in root. Then reinstalled the QT Creator, using this link. Now all paths in configs are /QT/5.6/clang_64/...
                      and all works perfectly!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post