GithubHelp home page GithubHelp logo

Comments (10)

laurent22 avatar laurent22 commented on July 22, 2024

You will need gcc to compile it - see Requirements in Mac OS X.

from qml.

xyhp915 avatar xyhp915 commented on July 22, 2024

@laurent22 thanks for your reply :)
I had installed gcc48 . but how can i invoke it to compile qml ?

from qml.

laurent22 avatar laurent22 commented on July 22, 2024

Hmm, not sure, it looks like it's still using clang instead of gcc. Did you follow all the steps in README.md? Last time I tried it worked for me (at last on Mountain Lion). If you search for g++ in /usr/bin what does it say? ls -la /usr/bin | grep g++

from qml.

xyhp915 avatar xyhp915 commented on July 22, 2024

Yes . I had follow these steps in README.md . Below it says ..

~  ls -la /usr/bin | grep g++
lrwxr-xr-x     1 root   wheel         7  8 28 23:54 c++ -> clang++
-rwxr-xr-x     1 root   wheel     14240 10  8 18:21 clang++
-rwxr-xr-x     1 root   wheel     14224 10  8 18:21 g++
lrwxr-xr-x     1 root   wheel         7  8 28 23:54 llvm-g++ -> clang++

from qml.

dyxushuai avatar dyxushuai commented on July 22, 2024

I come with the same problem.what can I do for it

from qml.

raff avatar raff commented on July 22, 2024

Try my suggestion at #33

from qml.

niemeyer avatar niemeyer commented on July 22, 2024

I've updated the instructions as @raff suggested. Let's hope it works for you. If not, please reopen this issue with more details.

from qml.

rawberg avatar rawberg commented on July 22, 2024

I ran into this issue trying to install against Qt 5.5.0-beta. I've tried gcc 4.8, 4.9 and 5.1 always get the same error. Also downgraded Xcode and command line tools to 6.3.1.

go version go1.4.2 darwin/amd64
pkg-config --modversion Qt5Core 
5.5.0
echo $PKG_CONFIG_PATH
/usr/local/Cellar/qt5/5.5.0-beta/lib/pkgconfig/
g++-4.9: error: QtWidgets: No such file or directory
g++-4.9: error: QtWebEngine: No such file or directory
g++-4.9: error: QtQuick: No such file or directory
g++-4.9: error: QtGui: No such file or directory
g++-4.9: error: QtQml: No such file or directory
g++-4.9: error: QtNetwork: No such file or directory
g++-4.9: error: QtCore: No such file or directory
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'
g++-4.9: error: unrecognized command line option '-framework\'

from qml.

facekapow avatar facekapow commented on July 22, 2024

@rawberg Same problem on OS X Yosemite.

from qml.

Thomasdezeeuw avatar Thomasdezeeuw commented on July 22, 2024

I'm having the same issue with clang:

# gopkg.in/qml.v1
clang: error: unknown argument: '-framework\'
clang: error: unknown argument: '-framework\'
clang: error: unknown argument: '-framework\'
clang: error: unknown argument: '-framework\'
clang: error: unknown argument: '-framework\'
clang: error: unknown argument: '-framework\'
clang: error: no such file or directory: 'QtWidgets'
clang: error: no such file or directory: 'QtQuick'
clang: error: no such file or directory: 'QtGui'
clang: error: no such file or directory: 'QtQml'
clang: error: no such file or directory: 'QtNetwork'
clang: error: no such file or directory: 'QtCore'

from qml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.