Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. The same problem
QtWS25 Last Chance

The same problem

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 2 Posters 2.7k Views
  • 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.
  • vvruspatV Offline
    vvruspatV Offline
    vvruspat
    wrote on last edited by
    #1

    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
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      vvruspatV 1 Reply Last reply
      0
      • jsulmJ jsulm

        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.

        vvruspatV Offline
        vvruspatV Offline
        vvruspat
        wrote on last edited by vvruspat
        #3

        @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
        0
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you post the complete build log?

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

          vvruspatV 2 Replies Last reply
          0
          • jsulmJ jsulm

            Can you post the complete build log?

            vvruspatV Offline
            vvruspatV Offline
            vvruspat
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • jsulmJ jsulm

              Can you post the complete build log?

              vvruspatV Offline
              vvruspatV Offline
              vvruspat
              wrote on last edited by vvruspat
              #6

              @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
              0
              • jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                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

                vvruspatV 1 Reply Last reply
                0
                • jsulmJ jsulm

                  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.

                  vvruspatV Offline
                  vvruspatV Offline
                  vvruspat
                  wrote on last edited by
                  #8

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

                  1 Reply Last reply
                  0
                  • vvruspatV Offline
                    vvruspatV Offline
                    vvruspat
                    wrote on last edited by
                    #9

                    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
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved