cartr / homebrew-qt4

Homebrew tap for Qt4 and dependent formulae on Sierra
BSD 2-Clause "Simplified" License
105 stars 42 forks source link

installing lQTGui #64

Open asadaku opened 5 years ago

asadaku commented 5 years ago

I'm trying to use this to install open rave, which complains at 99% that it can't find lQtGui.a.

I browsed the install directory of qt@4 under libs and there isn't any qtgui stuff. Is there some way to install that too?

cartr commented 5 years ago

Sorry to hear you're running into issues with the formula! QtGui should be included in the qt@4 formula, although I believe we install it as a framework rather than a static library. Would you mind copy-pasting the output of "brew doctor", "brew config", and the failing compile command into a Gist so I can take a look?

On Sat, Dec 22, 2018, 11:42 AM asadaku <notifications@github.com wrote:

I'm trying to use this to install open rave, which complains at 99% that it can't find lQtGui.a.

I browsed the install directory of qt@4 under libs and there isn't any qtgui stuff. Is there some way to install that too?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cartr/homebrew-qt4/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_71X3rxMvEGqg2xZLmVbd9wCVUS70Hks5u7osngaJpZM4Zfl1C .

asadaku commented 5 years ago

Here is the gist. I admit I have been trying like crazy to get this to work so I have installed qt5, qt4 and whatever multiple times in a vain attempt to solve this. I'm so close!!

https://gist.github.com/asadaku/f95f69235ea16c6d82e6922b8230b2e6

cartr commented 5 years ago

Hmm. Could you add the output of soqt-config and coin-config?

Carter

On Sat, Dec 22, 2018, 4:19 PM asadaku <notifications@github.com wrote:

Here is the gist. I admit I have been trying like crazy to get this to work so I have installed qt5, qt4 and whatever multiple times in a vain attempt to solve this. I'm so close!!

https://gist.github.com/asadaku/f95f69235ea16c6d82e6922b8230b2e6

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cartr/homebrew-qt4/issues/64#issuecomment-449605715, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_71Q-HObIyR5olpQhcjye_28ZevHX-ks5u7swTgaJpZM4Zfl1C .

asadaku commented 5 years ago

The output of soqt-config and coin-config is empty but if I do

soqt-config --libs -lSoQt -F/usr/local/Cellar/qt@4/4.8.7_5/lib -framework QtOpenGL QtGui QtCore -lCoin -lpthread -lQtGui.o -lQtOpenGL.o

coin-config --libs -lCoin -lpthread

I did compile these two using your qt formula

cartr commented 5 years ago

Yeah, that "-lQtGui.o" probably shouldn't be there. I'll look into this further.

On Sat, Dec 22, 2018, 4:30 PM asadaku <notifications@github.com wrote:

The output of soqt-config and coin-config is empty but if I do

soqt-config --libs -lSoQt -F/usr/local/Cellar/qt@4/4.8.7_5/lib -framework QtOpenGL QtGui QtCore -lCoin -lpthread -lQtGui.o -lQtOpenGL.o

coin-config --libs -lCoin -lpthread

I did compile these two using your qt formula

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cartr/homebrew-qt4/issues/64#issuecomment-449606072, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_71XzhNHS8uENJ3Rc6XiVAZpakK4cXks5u7s6JgaJpZM4Zfl1C .

asadaku commented 5 years ago

I should mention how I installed soqt.

>> hg clone https://bitbucket.org/Coin3D/soqt -r cmake
>> mkdir build
>> cd build/
>> cmake ../soqt
>> make
>> make install

Maybe I am not using a flag that I should be using when building soqt?