[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Re: not able to compile



Hi,

What version of Qt did you install (brew info qt5)? Version 5.5 is what you should have installed to build the project. It seems unusual that it was installed straight into qt, I wonder if you accidentally installed the latest version rather than one pinned at 5.5.

What does `brew --prefix qt55` produce? How about `brew --prefix qt5`?
It looks like it is installed in /usr/local/opt/qt/bin, so I would try
cmake -G Xcode -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/bin  ..

Thanks for your patience.
Brian

On Sat, Dec 30, 2017 at 10:09 PM, <fbfrankb5@xxxxxxxxx> wrote:
I hate to ask, sort of a home-brew question but relatable to the readme. I
installed qt5 and got;
----------------------
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.

This formula is keg-only, which means it was not symlinked into /usr/local,
because Qt 5 has CMake issues when linked.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/qt/lib
    CPPFLAGS: -I/usr/local/opt/qt/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/qt/lib/pkgconfig

--------------------------

What move should I make to make sure this is setup properly? Thanks