[Qutecsound-users] CsoundQt Mac OS X Build Status

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
Hi all,

By way of introduction, I'm Nikhil and I'm a student of Dr. Richard Boulanger's here at Berklee. I recently have been attempting to build the newest CsoundQt from source on Mac OS X 10.11.3 and have run into a few little snags that I've documented below:

csoptions.cpp attempts to use calloc without #include <cstdlib> or #include <stdlib.h> - this is easily fixed by adding this at the top.

- qcs-macx.pro looks for libcsnd6, but the correct filename (on both mine and Dr. Boulanger's OSX 10.11.3 system) is libcsnd.6.0 - this is fixed by changing "csound6: LCSND = -L/usr/local/lib -lcsnd6"   in line 71 of qcs-macx.pro to "csound6: LCSND = -L/usr/local/lib -lcsnd.6.0" or "csound6: LCSND = -L/usr/local/lib -lcsnd.6.6.0" for the newest OS X csound release

- qcs.pro attempts to mkdir in /usr/share, which OS X refuses to provide permission to write to, but using /usr/local/share seems to make it work. Accomplished by changing "SHARE_DIR=/usr/share # ~/.local for HOME install" in line 159 of qcs.pro to    "SHARE_DIR=/usr/local/share # ~/.local for HOME install"

With these changes, CsoundQt 0.9.2 successfully builds and works, including with rtmidi. The Virtual MIDI Keyboard from the view menu and corresponding toolbar button, however, do not appear to be available. I've also been having some separate issues with getting PythonQt to build on 10.11.3 (which I'm working on fixing).

Thanks,
Nikhil

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Dr. Richard Boulanger
Thanks for posting this Nikhil, and thanks for all your work with these sources.

What we have also noticed is:

1. The Floss Examples are missing from the Examples Menu
2. The Iain McCurdy Examples are missing from the Examples Menu
3. The Python Tab is missing
4. The "new" Virtual Keyboard Tab is missing

Also, when you start by simply installing Qt - from the Qt Home Page and it installs Qt Creator on your Mac, it does not seem to install the required Qt Libraries and so...

When you launch a "built" (binary) version of the latest CsoundQt for Mac that someone might be sharing with you
- as Nikhil and others in this list have done
The app crashes on launch and reports that it is missing one of the Qt Libraries.

Only when you use Homebrew to install Qt do these libraries get installed in the correct place.

(Nikhil can confirm or elaborate on this a bit more.)

Dr.B.


On Fri, Mar 11, 2016 at 12:04 PM, Nikhil Singh <[hidden email]> wrote:
Hi all,

By way of introduction, I'm Nikhil and I'm a student of Dr. Richard Boulanger's here at Berklee. I recently have been attempting to build the newest CsoundQt from source on Mac OS X 10.11.3 and have run into a few little snags that I've documented below:

csoptions.cpp attempts to use calloc without #include <cstdlib> or #include <stdlib.h> - this is easily fixed by adding this at the top.

- qcs-macx.pro looks for libcsnd6, but the correct filename (on both mine and Dr. Boulanger's OSX 10.11.3 system) is libcsnd.6.0 - this is fixed by changing "csound6: LCSND = -L/usr/local/lib -lcsnd6"   in line 71 of qcs-macx.pro to "csound6: LCSND = -L/usr/local/lib -lcsnd.6.0" or "csound6: LCSND = -L/usr/local/lib -lcsnd.6.6.0" for the newest OS X csound release

- qcs.pro attempts to mkdir in /usr/share, which OS X refuses to provide permission to write to, but using /usr/local/share seems to make it work. Accomplished by changing "SHARE_DIR=/usr/share # ~/.local for HOME install" in line 159 of qcs.pro to    "SHARE_DIR=/usr/local/share # ~/.local for HOME install"

With these changes, CsoundQt 0.9.2 successfully builds and works, including with rtmidi. The Virtual MIDI Keyboard from the view menu and corresponding toolbar button, however, do not appear to be available. I've also been having some separate issues with getting PythonQt to build on 10.11.3 (which I'm working on fixing).

Thanks,
Nikhil



--
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
President of Boulanger Labs - http://boulangerlabs.com
Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book
Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
______________________________________________
about: http://www.boulangerlabs.com/about/richardboulanger/
about: http://www.csounds.com/community/developers/dr-richard-boulanger/
music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/

______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
In reply to this post by Nikhil Singh

[LONG EMAIL WARNING :) ]

 

Dear Nikhil,

 

Thank you very much putting your time into testing the build and writing the

report! It is very valuable - I hope more and more people get to build

themselves, since (1) the result is more stable (2) you get the newest

improvements (3) can help with testing and contribute to improving the program. And (4) it is not that hard if we get to good, clear instructions.

 

I copy in also Richard Boulanger's remarks from another e-mail. I am not sure, if you are in the qutecsound-users mailing list, this is probably the most appropriate place to discuss it further. For subscription: https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 

Some comments and questions below.

 

First - which Qt version did you use for building? And - just for interest - did you build from command line or using QtCreator?

 

On Friday 11 March 2016 12:04:06 you wrote:

> Hi all,

>

> By way of introduction, I'm Nikhil and I'm a student of Dr. Richard

> Boulanger's here at Berklee. I recently have been attempting to build the

> newest CsoundQt from source on Mac OS X 10.11.3 and have run into a few

> little snags that I've documented below:

>

> - csoptions.cpp attempts to use calloc without #include <cstdlib> or

> #include <stdlib.h> - this is easily fixed by adding this at the top.

Did you mean probably "csoundoptions.cpp"? Interesting - it does not create error here nor have I heard about this problem by anybody else but good to know! Adding the include line for any case definitely does not hurt. Thanks!

 

>

> - qcs-macx.pro looks for libcsnd6, but the correct filename (on both mine

> and Dr. Boulanger's OSX 10.11.3 system) is libcsnd.6.0 - this is fixed by

> changing "csound6: LCSND = -L/usr/local/lib -lcsnd6" in line 71 of

> qcs-macx.pro to "csound6: LCSND = -L/usr/local/lib -lcsnd.6.0" or "csound6:

> LCSND = -L/usr/local/lib -lcsnd.6.6.0" for the newest OS X csound release

 

This is a known deficiency of Csound 6.0.6 OSX install - it does not create the link libcsnd6 in /usr/local/lib where CsoundQt is looking for it and you need to do it by hand. See

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator

"Open the Terminal and execute this line:
sudo ln /usr/local/lib/libcsnd6.6.0.dylib /usr/local/lib/libcsnd6.dylib"

 

Changing qcs-macx.pro as you did works also for local build, but of course we cannot put it to the main code as it will be broken as soon new version of the libcsnd comes out. I think I have seen a Victor's post that it is fixed for cs 6.07 now but I should perhaps double check.

> - qcs.pro attempts to mkdir in /usr/share, which OS X refuses to provide

> permission to write to, but using /usr/local/share seems to make it work.

> Accomplished by changing "SHARE_DIR=/usr/share # ~/.local for HOME install"

> in line 159 of qcs.pro to "SHARE_DIR=/usr/local/share # ~/.local for

> HOME install"

Oh, this is a bug. Great it came out! This part (creating INSTALL target) is meant only for linux and similar systems, I thought that the macro "unix" is for that and "macx" is for mac but appearantly (and checking documentation), correct form to write it would be:

 

unix:!macx {

 

}

 

 

I pushed this and the #include <cstdlib> change to develop branch in git. See https://github.com/CsoundQt/CsoundQt/wiki/Checking-out-develop-branch

for how to use that for next builds. Could you test if it works now in that sense?

 

By the way, with Felipe Satelers fix in develop branch

https://github.com/CsoundQt/CsoundQt/commit/3cee814db4159a341498b7b1c9980f180c1a9216

you can also set INSTALL_DIR and SHARE_DIR with the command line options by qmake.

 

 

>

> With these changes, CsoundQt 0.9.2 successfully builds and works, including

> with rtmidi.

Really glad to hear! The amount of people using 0.9.2 on the planet is getting bigger :)

 

> The Virtual MIDI Keyboard from the view menu and corresponding

> toolbar button, however, do not appear to be available.

Which version of Qt did you use? Virtual Midi Keyboard requires Qt>=5.3

https://github.com/CsoundQt/CsoundQt/blob/master/BUILDING.md#building

 

Or can you be more precise about "not available"?

 

> I've also been

> having some separate issues with getting PythonQt to build on 10.11.3

> (which I'm working on fixing).

There are three main things - correct the Python version in python.prf, disable Shadow build if you use QtCreator, have all necessary Qt modules installed. See (or probably you have already ... )

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator -> With PythonQt

Can be that El Capitan adds some more problems... Thanks for testing, Nikhil!

 

O copy here and answer some notes by Dr. B.

 

> What we have also noticed is:

>

> 1. The Floss Examples are missing from the Examples Menu

> 2. The Iain McCurdy Examples are missing from the Examples Menu

Very good point! In fact I always get these warning messages in console every time I start CsoundQt:

 

Warning: Could not find FLOSS Manual Examples.

Warning: Could not find McCurdy Collection.

Warning: Could not find Stria Synth files.

But I never payed attention! It seems to me that they are not part of the git sources and always somehow added to the installation bundles later (under Resources of the binary bundle). I filed an issue for myself and I will investigate it.

 

The same goes for Scripts and Manual - I will find a way how the program would find them more easily.

 

> 3. The Python Tab is missing

You probably did not build with PythonQt support? You need to build PythonQt first and then use option CONFIG+=pythonqt for qmake. See the wiki page about builing on OSX

 

> 4. The "new" Virtual Keyboard Tab is missing

Commented above. Is Qt version ate least 5.3?

>

> Also, when you start by simply installing Qt - from the Qt Home Page and it

> installs Qt Creator on your Mac, it does not seem to install the required

> Qt Libraries and so...

Hmm, we did it together with Joachim and there was no problem at all. What Joachim used was to download the offline installer from here

 

http://www.qt.io/download-open-source/#section-2

 

Acutallly I suggest to go for version 5.4.2 for OSX since with 5.5 there is a bug in Qt that does not allow to resize a floating widgets panel. with 5.4.2 it works. Link to installer

http://download.qt.io/archive/qt/5.4/5.4.2/qt-opensource-mac-x64-clang-5.4.2.dmg

 

 

Could be that if to use the online installer, where you need to choose which components to install, maybe something important left unchecked. I don't know...

 

>

> When you launch a "built" (binary) version of the latest CsoundQt for Mac

> that someone might be sharing with you

> - as Nikhil and others in this list have done

> The app crashes on launch and reports that it is missing one of the Qt

> Libraries.

It is important to make difference between a standalone, all-including app or bundle that you can share (like it comes with Csound installer), that has all required libaries, resources and frameworks within it and

 

locally built version of CsoundQt that uses the libraries installed in taht particular system. There so many possible combinations and versions around - if the other person's computer has different versions of the libraries (say Qt) or they are in different place, it obviously cannot work.

 

How to make difference? The first one is "big" - around or more than 100MB, second small - around 10 MB.

 

Everyone could theoretically create a "shareable" bundle, if to use the scripts in CsoundQt source tree ./bin folder (osx-prepare-bundle.py and others) but I am afraid they don't work properly now with new versions, at least noone has tested and fixed them.

 

I am not on Max, Johannes Schütt is struggling to get the old bundle'ing script work but without success yet. If someone can give a hand, it is more than welcome!!!

 

>

> Only when you use Homebrew to install Qt do these libraries get installed

> in the correct place.

 

You should be able to use any of the installed Qt versions, it is important to use the qmake of that particular version what you want to build against to. Otherwise thing can get badly messy...

 

But once again - nothing is better than real experience and a working copy is the only proof. Thanks again for all tryouts and feedback!

 

tarmo

 

 

 


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Dr. Richard Boulanger
Tarmo,

Thanks for this detailed response.
Nikhil and I will continue trying to work on this 
- following your suggestions and sharing our discoveries, solutions and (hopefully) successes.
I don't know when 6.07 is scheduled for release, but it would be great if your new version of CsoundQt
works correctly and completely with the latest OSX 10.11.3 and is bundled with the release.

We are hoping to have it working over the next week - it is one of our spring break goals.

We will keep you posted.

Dr.B.

On Sat, Mar 12, 2016 at 5:21 PM, Tarmo Johannes <[hidden email]> wrote:

[LONG EMAIL WARNING :) ]

 

Dear Nikhil,

 

Thank you very much putting your time into testing the build and writing the

report! It is very valuable - I hope more and more people get to build

themselves, since (1) the result is more stable (2) you get the newest

improvements (3) can help with testing and contribute to improving the program. And (4) it is not that hard if we get to good, clear instructions.

 

I copy in also Richard Boulanger's remarks from another e-mail. I am not sure, if you are in the qutecsound-users mailing list, this is probably the most appropriate place to discuss it further. For subscription: https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 

Some comments and questions below.

 

First - which Qt version did you use for building? And - just for interest - did you build from command line or using QtCreator?

 

On Friday 11 March 2016 12:04:06 you wrote:

> Hi all,

>

> By way of introduction, I'm Nikhil and I'm a student of Dr. Richard

> Boulanger's here at Berklee. I recently have been attempting to build the

> newest CsoundQt from source on Mac OS X 10.11.3 and have run into a few

> little snags that I've documented below:

>

> - csoptions.cpp attempts to use calloc without #include <cstdlib> or

> #include <stdlib.h> - this is easily fixed by adding this at the top.

Did you mean probably "csoundoptions.cpp"? Interesting - it does not create error here nor have I heard about this problem by anybody else but good to know! Adding the include line for any case definitely does not hurt. Thanks!

 

>

> - qcs-macx.pro looks for libcsnd6, but the correct filename (on both mine

> and Dr. Boulanger's OSX 10.11.3 system) is libcsnd.6.0 - this is fixed by

> changing "csound6: LCSND = -L/usr/local/lib -lcsnd6" in line 71 of

> qcs-macx.pro to "csound6: LCSND = -L/usr/local/lib -lcsnd.6.0" or "csound6:

> LCSND = -L/usr/local/lib -lcsnd.6.6.0" for the newest OS X csound release

 

This is a known deficiency of Csound 6.0.6 OSX install - it does not create the link libcsnd6 in /usr/local/lib where CsoundQt is looking for it and you need to do it by hand. See

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator

"Open the Terminal and execute this line:
sudo ln /usr/local/lib/libcsnd6.6.0.dylib /usr/local/lib/libcsnd6.dylib"

 

Changing qcs-macx.pro as you did works also for local build, but of course we cannot put it to the main code as it will be broken as soon new version of the libcsnd comes out. I think I have seen a Victor's post that it is fixed for cs 6.07 now but I should perhaps double check.

> - qcs.pro attempts to mkdir in /usr/share, which OS X refuses to provide

> permission to write to, but using /usr/local/share seems to make it work.

> Accomplished by changing "SHARE_DIR=/usr/share # ~/.local for HOME install"

> in line 159 of qcs.pro to "SHARE_DIR=/usr/local/share # ~/.local for

> HOME install"

Oh, this is a bug. Great it came out! This part (creating INSTALL target) is meant only for linux and similar systems, I thought that the macro "unix" is for that and "macx" is for mac but appearantly (and checking documentation), correct form to write it would be:

 

unix:!macx {

 

}

 

 

I pushed this and the #include <cstdlib> change to develop branch in git. See https://github.com/CsoundQt/CsoundQt/wiki/Checking-out-develop-branch

for how to use that for next builds. Could you test if it works now in that sense?

 

By the way, with Felipe Satelers fix in develop branch

https://github.com/CsoundQt/CsoundQt/commit/3cee814db4159a341498b7b1c9980f180c1a9216

you can also set INSTALL_DIR and SHARE_DIR with the command line options by qmake.

 

 

>

> With these changes, CsoundQt 0.9.2 successfully builds and works, including

> with rtmidi.

Really glad to hear! The amount of people using 0.9.2 on the planet is getting bigger :)

 

> The Virtual MIDI Keyboard from the view menu and corresponding

> toolbar button, however, do not appear to be available.

Which version of Qt did you use? Virtual Midi Keyboard requires Qt>=5.3

https://github.com/CsoundQt/CsoundQt/blob/master/BUILDING.md#building

 

Or can you be more precise about "not available"?

 

> I've also been

> having some separate issues with getting PythonQt to build on 10.11.3

> (which I'm working on fixing).

There are three main things - correct the Python version in python.prf, disable Shadow build if you use QtCreator, have all necessary Qt modules installed. See (or probably you have already ... )

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator -> With PythonQt

Can be that El Capitan adds some more problems... Thanks for testing, Nikhil!

 

O copy here and answer some notes by Dr. B.

 

> What we have also noticed is:

>

> 1. The Floss Examples are missing from the Examples Menu

> 2. The Iain McCurdy Examples are missing from the Examples Menu

Very good point! In fact I always get these warning messages in console every time I start CsoundQt:

 

Warning: Could not find FLOSS Manual Examples.

Warning: Could not find McCurdy Collection.

Warning: Could not find Stria Synth files.

But I never payed attention! It seems to me that they are not part of the git sources and always somehow added to the installation bundles later (under Resources of the binary bundle). I filed an issue for myself and I will investigate it.

 

The same goes for Scripts and Manual - I will find a way how the program would find them more easily.

 

> 3. The Python Tab is missing

You probably did not build with PythonQt support? You need to build PythonQt first and then use option CONFIG+=pythonqt for qmake. See the wiki page about builing on OSX

 

> 4. The "new" Virtual Keyboard Tab is missing

Commented above. Is Qt version ate least 5.3?

>

> Also, when you start by simply installing Qt - from the Qt Home Page and it

> installs Qt Creator on your Mac, it does not seem to install the required

> Qt Libraries and so...

Hmm, we did it together with Joachim and there was no problem at all. What Joachim used was to download the offline installer from here

 

http://www.qt.io/download-open-source/#section-2

 

Acutallly I suggest to go for version 5.4.2 for OSX since with 5.5 there is a bug in Qt that does not allow to resize a floating widgets panel. with 5.4.2 it works. Link to installer

http://download.qt.io/archive/qt/5.4/5.4.2/qt-opensource-mac-x64-clang-5.4.2.dmg

 

 

Could be that if to use the online installer, where you need to choose which components to install, maybe something important left unchecked. I don't know...

 

>

> When you launch a "built" (binary) version of the latest CsoundQt for Mac

> that someone might be sharing with you

> - as Nikhil and others in this list have done

> The app crashes on launch and reports that it is missing one of the Qt

> Libraries.

It is important to make difference between a standalone, all-including app or bundle that you can share (like it comes with Csound installer), that has all required libaries, resources and frameworks within it and

 

locally built version of CsoundQt that uses the libraries installed in taht particular system. There so many possible combinations and versions around - if the other person's computer has different versions of the libraries (say Qt) or they are in different place, it obviously cannot work.

 

How to make difference? The first one is "big" - around or more than 100MB, second small - around 10 MB.

 

Everyone could theoretically create a "shareable" bundle, if to use the scripts in CsoundQt source tree ./bin folder (osx-prepare-bundle.py and others) but I am afraid they don't work properly now with new versions, at least noone has tested and fixed them.

 

I am not on Max, Johannes Schütt is struggling to get the old bundle'ing script work but without success yet. If someone can give a hand, it is more than welcome!!!

 

>

> Only when you use Homebrew to install Qt do these libraries get installed

> in the correct place.

 

You should be able to use any of the installed Qt versions, it is important to use the qmake of that particular version what you want to build against to. Otherwise thing can get badly messy...

 

But once again - nothing is better than real experience and a working copy is the only proof. Thanks again for all tryouts and feedback!

 

tarmo

 

 

 




--
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
President of Boulanger Labs - http://boulangerlabs.com
Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book
Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
______________________________________________
about: http://www.boulangerlabs.com/about/richardboulanger/
about: http://www.csounds.com/community/developers/dr-richard-boulanger/
music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/

______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
Thanks for your detailed response! 

I've been building from the command line. I updated Qt (sorry about that - missed the fact that I had an older version installed) and added CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of today it fails to find a main() function without specifying this - not sure if this is significant), and it now works with the MIDI keyboard - thanks! 

It also builds with PythonQt but the built app crashes on opening. This might be an issue on my end, I'll look into it further. The log, if it is of any interest, is attached.

Thanks,
Nikhil

Nikhil Singh | Berklee College of Music '17

On Sat, Mar 12, 2016 at 9:46 PM, Dr. Richard Boulanger <[hidden email]> wrote:
Tarmo,

Thanks for this detailed response.
Nikhil and I will continue trying to work on this 
- following your suggestions and sharing our discoveries, solutions and (hopefully) successes.
I don't know when 6.07 is scheduled for release, but it would be great if your new version of CsoundQt
works correctly and completely with the latest OSX 10.11.3 and is bundled with the release.

We are hoping to have it working over the next week - it is one of our spring break goals.

We will keep you posted.

Dr.B.

On Sat, Mar 12, 2016 at 5:21 PM, Tarmo Johannes <[hidden email]> wrote:

[LONG EMAIL WARNING :) ]

 

Dear Nikhil,

 

Thank you very much putting your time into testing the build and writing the

report! It is very valuable - I hope more and more people get to build

themselves, since (1) the result is more stable (2) you get the newest

improvements (3) can help with testing and contribute to improving the program. And (4) it is not that hard if we get to good, clear instructions.

 

I copy in also Richard Boulanger's remarks from another e-mail. I am not sure, if you are in the qutecsound-users mailing list, this is probably the most appropriate place to discuss it further. For subscription: https://lists.sourceforge.net/lists/listinfo/qutecsound-users

 

Some comments and questions below.

 

First - which Qt version did you use for building? And - just for interest - did you build from command line or using QtCreator?

 

On Friday 11 March 2016 12:04:06 you wrote:

> Hi all,

>

> By way of introduction, I'm Nikhil and I'm a student of Dr. Richard

> Boulanger's here at Berklee. I recently have been attempting to build the

> newest CsoundQt from source on Mac OS X 10.11.3 and have run into a few

> little snags that I've documented below:

>

> - csoptions.cpp attempts to use calloc without #include <cstdlib> or

> #include <stdlib.h> - this is easily fixed by adding this at the top.

Did you mean probably "csoundoptions.cpp"? Interesting - it does not create error here nor have I heard about this problem by anybody else but good to know! Adding the include line for any case definitely does not hurt. Thanks!

 

>

> - qcs-macx.pro looks for libcsnd6, but the correct filename (on both mine

> and Dr. Boulanger's OSX 10.11.3 system) is libcsnd.6.0 - this is fixed by

> changing "csound6: LCSND = -L/usr/local/lib -lcsnd6" in line 71 of

> qcs-macx.pro to "csound6: LCSND = -L/usr/local/lib -lcsnd.6.0" or "csound6:

> LCSND = -L/usr/local/lib -lcsnd.6.6.0" for the newest OS X csound release

 

This is a known deficiency of Csound 6.0.6 OSX install - it does not create the link libcsnd6 in /usr/local/lib where CsoundQt is looking for it and you need to do it by hand. See

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator

"Open the Terminal and execute this line:
sudo ln /usr/local/lib/libcsnd6.6.0.dylib /usr/local/lib/libcsnd6.dylib"

 

Changing qcs-macx.pro as you did works also for local build, but of course we cannot put it to the main code as it will be broken as soon new version of the libcsnd comes out. I think I have seen a Victor's post that it is fixed for cs 6.07 now but I should perhaps double check.

> - qcs.pro attempts to mkdir in /usr/share, which OS X refuses to provide

> permission to write to, but using /usr/local/share seems to make it work.

> Accomplished by changing "SHARE_DIR=/usr/share # ~/.local for HOME install"

> in line 159 of qcs.pro to "SHARE_DIR=/usr/local/share # ~/.local for

> HOME install"

Oh, this is a bug. Great it came out! This part (creating INSTALL target) is meant only for linux and similar systems, I thought that the macro "unix" is for that and "macx" is for mac but appearantly (and checking documentation), correct form to write it would be:

 

unix:!macx {

 

}

 

 

I pushed this and the #include <cstdlib> change to develop branch in git. See https://github.com/CsoundQt/CsoundQt/wiki/Checking-out-develop-branch

for how to use that for next builds. Could you test if it works now in that sense?

 

By the way, with Felipe Satelers fix in develop branch

https://github.com/CsoundQt/CsoundQt/commit/3cee814db4159a341498b7b1c9980f180c1a9216

you can also set INSTALL_DIR and SHARE_DIR with the command line options by qmake.

 

 

>

> With these changes, CsoundQt 0.9.2 successfully builds and works, including

> with rtmidi.

Really glad to hear! The amount of people using 0.9.2 on the planet is getting bigger :)

 

> The Virtual MIDI Keyboard from the view menu and corresponding

> toolbar button, however, do not appear to be available.

Which version of Qt did you use? Virtual Midi Keyboard requires Qt>=5.3

https://github.com/CsoundQt/CsoundQt/blob/master/BUILDING.md#building

 

Or can you be more precise about "not available"?

 

> I've also been

> having some separate issues with getting PythonQt to build on 10.11.3

> (which I'm working on fixing).

There are three main things - correct the Python version in python.prf, disable Shadow build if you use QtCreator, have all necessary Qt modules installed. See (or probably you have already ... )

https://github.com/CsoundQt/CsoundQt/wiki/Building-CsoundQt-for-OSX-with-QtCreator -> With PythonQt

Can be that El Capitan adds some more problems... Thanks for testing, Nikhil!

 

O copy here and answer some notes by Dr. B.

 

> What we have also noticed is:

>

> 1. The Floss Examples are missing from the Examples Menu

> 2. The Iain McCurdy Examples are missing from the Examples Menu

Very good point! In fact I always get these warning messages in console every time I start CsoundQt:

 

Warning: Could not find FLOSS Manual Examples.

Warning: Could not find McCurdy Collection.

Warning: Could not find Stria Synth files.

But I never payed attention! It seems to me that they are not part of the git sources and always somehow added to the installation bundles later (under Resources of the binary bundle). I filed an issue for myself and I will investigate it.

 

The same goes for Scripts and Manual - I will find a way how the program would find them more easily.

 

> 3. The Python Tab is missing

You probably did not build with PythonQt support? You need to build PythonQt first and then use option CONFIG+=pythonqt for qmake. See the wiki page about builing on OSX

 

> 4. The "new" Virtual Keyboard Tab is missing

Commented above. Is Qt version ate least 5.3?

>

> Also, when you start by simply installing Qt - from the Qt Home Page and it

> installs Qt Creator on your Mac, it does not seem to install the required

> Qt Libraries and so...

Hmm, we did it together with Joachim and there was no problem at all. What Joachim used was to download the offline installer from here

 

http://www.qt.io/download-open-source/#section-2

 

Acutallly I suggest to go for version 5.4.2 for OSX since with 5.5 there is a bug in Qt that does not allow to resize a floating widgets panel. with 5.4.2 it works. Link to installer

http://download.qt.io/archive/qt/5.4/5.4.2/qt-opensource-mac-x64-clang-5.4.2.dmg

 

 

Could be that if to use the online installer, where you need to choose which components to install, maybe something important left unchecked. I don't know...

 

>

> When you launch a "built" (binary) version of the latest CsoundQt for Mac

> that someone might be sharing with you

> - as Nikhil and others in this list have done

> The app crashes on launch and reports that it is missing one of the Qt

> Libraries.

It is important to make difference between a standalone, all-including app or bundle that you can share (like it comes with Csound installer), that has all required libaries, resources and frameworks within it and

 

locally built version of CsoundQt that uses the libraries installed in taht particular system. There so many possible combinations and versions around - if the other person's computer has different versions of the libraries (say Qt) or they are in different place, it obviously cannot work.

 

How to make difference? The first one is "big" - around or more than 100MB, second small - around 10 MB.

 

Everyone could theoretically create a "shareable" bundle, if to use the scripts in CsoundQt source tree ./bin folder (osx-prepare-bundle.py and others) but I am afraid they don't work properly now with new versions, at least noone has tested and fixed them.

 

I am not on Max, Johannes Schütt is struggling to get the old bundle'ing script work but without success yet. If someone can give a hand, it is more than welcome!!!

 

>

> Only when you use Homebrew to install Qt do these libraries get installed

> in the correct place.

 

You should be able to use any of the installed Qt versions, it is important to use the qmake of that particular version what you want to build against to. Otherwise thing can get badly messy...

 

But once again - nothing is better than real experience and a working copy is the only proof. Thanks again for all tryouts and feedback!

 

tarmo

 

 

 




--
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
President of Boulanger Labs - http://boulangerlabs.com
Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book
Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
______________________________________________
about: http://www.boulangerlabs.com/about/richardboulanger/
about: http://www.csounds.com/community/developers/dr-richard-boulanger/
music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/

______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users

CsoundQt-d-py-cs6_2016-03-13-170838_Nikhils-MacBook-Pro.spin (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
Great, glad to hear, Nikhil!

Unfortunately I could not read any useful infromation out of the attached log.
Can you start the program from command line and see if there are any error
messages?

Most likely the PyhtonQt libraires (libPythonQt et al) are not found. Did you
copy/link them to /usr/local/lib or other place they can be found in system?

Do the test programs in PythonQt/lib (like PyGettingStarted) run? I am not
sure, if they are created in OSX, though...

take care!
tarmo

On Sunday 13 March 2016 17:25:19 Nikhil Singh wrote:

> Thanks for your detailed response!
>
> I've been building from the command line. I updated Qt (sorry about that -
> missed the fact that I had an older version installed) and added
> CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of
> today it fails to find a main() function without specifying this - not sure
> if this is significant), and it now works with the MIDI keyboard - thanks!
>
> It also builds with PythonQt but the built app crashes on opening. This
> might be an issue on my end, I'll look into it further. The log, if it is
> of any interest, is attached.
>
> Thanks,
> Nikhil
>


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
In reply to this post by Nikhil Singh
Oh, one thing makes me attentive:

>  and added
> CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of
> today it fails to find a main() function without specifying this - not sure
> if this is significant)

Did you pull from develop branch? Maybe I messed up something with latest
changes. If not, can you try? It should not be necessary to add that flag.

tarmo

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
It was indeed from the develop branch, pulled around 21 hours ago. I can try pulling again if that would be helpful! The PythonQt libraries do seem to be in the right place, and the examples compile to object code (they are set to used builds from the same folder by default, but I tried setting them to /usr/local/lib and it still works, so the library is installed and accessible). Here is the output from running the app from command line, the info is similar:

objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport. One of the two will be used. Which one is undefined.

objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport. One of the two will be used. Which one is undefined.

objc[52731]: Class QCocoaApplicationDelegate is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QNSApplication is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QCocoaMenuLoader is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QNSImageView is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QNSStatusItem is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

objc[52731]: Class QNSMenu is implemented in both /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the two will be used. Which one is undefined.

virtual_keyboard real time MIDI plugin for Csound

WARNING: STK opodes not available: define environment variable RAWWAVE_PATH

(points to rawwaves directory) to use STK opcodes.

0dBFS level = 32768.0

Csound version 6.06 (double samples) Sep 29 2015

libsndfile-1.0.25

end of score.   overall amps:      0.0

  overall samples out of range:        0

0 errors in performance

Elapsed time at end of performance: real: 0.039s, CPU: 0.001s

QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)

QWidget: Must construct a QApplication before a QPaintDevice

Csound tidy up: Abort trap


Hope it helps!

Nikhil


Nikhil Singh | Berklee College of Music '17

On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <[hidden email]> wrote:
Oh, one thing makes me attentive:

>  and added
> CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of
> today it fails to find a main() function without specifying this - not sure
> if this is significant)

Did you pull from develop branch? Maybe I messed up something with latest
changes. If not, can you try? It should not be necessary to add that flag.

tarmo

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
Hi,

Could it be that you built PythonQt wiht qt4? If there are many qt versions
installed, it is wise to use qmake with the whole path like

 ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec macx-clang
CONFIG+=x86_64 CONFIG+=rtmidi

(From Johannes Schütt instructions)?

Or can you check with otool (somehow), which libraries CsoundQt (or rather
PythonQt) is linked against to?

A bad and hard solution would be to uninstall Qt4, but this may break
something else.  I did not find a nice elegant solution form google as well at
the first try. Please let know, how it goes!

On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> It was indeed from the develop branch, pulled around 21 hours ago. I can
> try pulling again if that would be helpful!

Hmm, can you try two experiments:

1) delete this section with qcs-macx.pro:
x86_64: {
CONFIG += x86_64
QMAKE_CXXFLAGS += -arch x86_64
}

2) delete everything concerning architecture:
!ppc: !x86_64:  {
CONFIG += i386
QMAKE_CXXFLAGS += -arch i386
}
universal: {
QMAKE_CXXFLAGS += -arch i386
CONFIG += i386
CONFIG += ppc
}

x86_64: {
CONFIG += x86_64
QMAKE_CXXFLAGS += -arch x86_64
}



> The PythonQt libraries do seem
> to be in the right place, and the examples compile to object code (they are
> set to used builds from the same folder by default, but I tried setting
> them to /usr/local/lib and it still works, so the library is installed and
> accessible). Here is the output from running the app from command line, the
> info is similar:
>
> objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> One of the two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> One of the two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSApplication is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaMenuLoader is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSImageView is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSStatusItem is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSMenu is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> virtual_keyboard real time MIDI plugin for Csound
>
> WARNING: STK opodes not available: define environment variable RAWWAVE_PATH
>
> (points to rawwaves directory) to use STK opcodes.
>
> 0dBFS level = 32768.0
>
> Csound version 6.06 (double samples) Sep 29 2015
>
> libsndfile-1.0.25
>
> end of score.   overall amps:      0.0
>
>   overall samples out of range:        0
>
> 0 errors in performance
>
> Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
>
> QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
>
> QWidget: Must construct a QApplication before a QPaintDevice
>
> Csound tidy up: Abort trap
>
>
> Hope it helps!
>
> Nikhil
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Oh, one thing makes me attentive:
> > >  and added
> > >
> > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of
> > > today it fails to find a main() function without specifying this - not
> >
> > sure
> >
> > > if this is significant)
> >
> > Did you pull from develop branch? Maybe I messed up something with latest
> > changes. If not, can you try? It should not be necessary to add that flag.
> >
> > tarmo
> >
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
That might indeed be the issue as PythonQt refuses to build with Qt5.5 (it insists on needing 4.x). I did try uninstalling Qt4 but this seemed to have no effect other than prohibiting the building of PythonQt. I can try using a slightly older (but >5.3) version of Qt and will also delve into the sources and try to see how I can make this work - thanks! I tried both the experiments, the results were:

1) Delete section of qcs_macx.pro concerning 64-bit architecture

[Preceded by several similar warnings]

Undefined symbols for architecture x86_64:

  "_main", referenced from:

      start in crt1.10.6.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [bin/CsoundQt-d-cs6.app/Contents/MacOS/CsoundQt-d-cs6] Error 1


2) Delete everything from qcs_macx.pro concerning architecture

Builds and runs without a problem!


Hope this is helpful,
Nikhil 


Nikhil Singh | Berklee College of Music '17

On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <[hidden email]> wrote:
Hi,

Could it be that you built PythonQt wiht qt4? If there are many qt versions
installed, it is wise to use qmake with the whole path like

 ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec macx-clang
CONFIG+=x86_64 CONFIG+=rtmidi

(From Johannes Schütt instructions)?

Or can you check with otool (somehow), which libraries CsoundQt (or rather
PythonQt) is linked against to?

A bad and hard solution would be to uninstall Qt4, but this may break
something else.  I did not find a nice elegant solution form google as well at
the first try. Please let know, how it goes!

On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> It was indeed from the develop branch, pulled around 21 hours ago. I can
> try pulling again if that would be helpful!

Hmm, can you try two experiments:

1) delete this section with qcs-macx.pro:
x86_64: {
CONFIG += x86_64
QMAKE_CXXFLAGS += -arch x86_64
}

2) delete everything concerning architecture:
!ppc: !x86_64:  {
CONFIG += i386
QMAKE_CXXFLAGS += -arch i386
}
universal: {
QMAKE_CXXFLAGS += -arch i386
CONFIG += i386
CONFIG += ppc
}

x86_64: {
CONFIG += x86_64
QMAKE_CXXFLAGS += -arch x86_64
}



> The PythonQt libraries do seem
> to be in the right place, and the examples compile to object code (they are
> set to used builds from the same folder by default, but I tried setting
> them to /usr/local/lib and it still works, so the library is installed and
> accessible). Here is the output from running the app from command line, the
> info is similar:
>
> objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> One of the two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> One of the two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSApplication is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QCocoaMenuLoader is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSImageView is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSStatusItem is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> objc[52731]: Class QNSMenu is implemented in both
> /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of the
> two will be used. Which one is undefined.
>
> virtual_keyboard real time MIDI plugin for Csound
>
> WARNING: STK opodes not available: define environment variable RAWWAVE_PATH
>
> (points to rawwaves directory) to use STK opcodes.
>
> 0dBFS level = 32768.0
>
> Csound version 6.06 (double samples) Sep 29 2015
>
> libsndfile-1.0.25
>
> end of score.   overall amps:      0.0
>
>   overall samples out of range:        0
>
> 0 errors in performance
>
> Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
>
> QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
>
> QWidget: Must construct a QApplication before a QPaintDevice
>
> Csound tidy up: Abort trap
>
>
> Hope it helps!
>
> Nikhil
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Oh, one thing makes me attentive:
> > >  and added
> > >
> > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but as of
> > > today it fails to find a main() function without specifying this - not
> >
> > sure
> >
> > > if this is significant)
> >
> > Did you pull from develop branch? Maybe I messed up something with latest
> > changes. If not, can you try? It should not be necessary to add that flag.
> >
> > tarmo
> >
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> That might indeed be the issue as PythonQt refuses to build with Qt5.5 (it
> insists on needing 4.x). I did try uninstalling Qt4 but this seemed to have
> no effect other than prohibiting the building of PythonQt. I can try using
> a slightly older (but >5.3) version of Qt and will also delve into the
> sources and try to see how I can make this work - thanks! I tried both the
> experiments, the results were:

We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10 and I
think Johannes succeeded also on 10.11. So it should not be problem of Qt 5
(also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error output
when you build PythonQt!

>
> 2) Delete everything from qcs_macx.pro concerning architecture
>
>
> *Builds and runs without a problem!*
OK, thanks.  Good to know. This might be the best option then, although it
does not support older architectures any more...

tarmo

>
>
> Hope this is helpful,
> Nikhil
>
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Hi,
> >
> > Could it be that you built PythonQt wiht qt4? If there are many qt
> > versions
> > installed, it is wise to use qmake with the whole path like
> >
> >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec macx-clang
> >
> > CONFIG+=x86_64 CONFIG+=rtmidi
> >
> > (From Johannes Schütt instructions)?
> >
> > Or can you check with otool (somehow), which libraries CsoundQt (or rather
> > PythonQt) is linked against to?
> >
> > A bad and hard solution would be to uninstall Qt4, but this may break
> > something else.  I did not find a nice elegant solution form google as
> > well at
> > the first try. Please let know, how it goes!
> >
> > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > It was indeed from the develop branch, pulled around 21 hours ago. I can
> > > try pulling again if that would be helpful!
> >
> > Hmm, can you try two experiments:
> >
> > 1) delete this section with qcs-macx.pro:
> > x86_64: {
> > CONFIG += x86_64
> > QMAKE_CXXFLAGS += -arch x86_64
> > }
> >
> > 2) delete everything concerning architecture:
> > !ppc: !x86_64:  {
> > CONFIG += i386
> > QMAKE_CXXFLAGS += -arch i386
> > }
> > universal: {
> > QMAKE_CXXFLAGS += -arch i386
> > CONFIG += i386
> > CONFIG += ppc
> > }
> >
> > x86_64: {
> > CONFIG += x86_64
> > QMAKE_CXXFLAGS += -arch x86_64
> > }
> >
> > > The PythonQt libraries do seem
> > > to be in the right place, and the examples compile to object code (they
> >
> > are
> >
> > > set to used builds from the same folder by default, but I tried setting
> > > them to /usr/local/lib and it still works, so the library is installed
> >
> > and
> >
> > > accessible). Here is the output from running the app from command line,
> >
> > the
> >
> > > info is similar:
> > >
> > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > One of the two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > One of the two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSApplication is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSImageView is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSStatusItem is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSMenu is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > virtual_keyboard real time MIDI plugin for Csound
> > >
> > > WARNING: STK opodes not available: define environment variable
> >
> > RAWWAVE_PATH
> >
> > > (points to rawwaves directory) to use STK opcodes.
> > >
> > > 0dBFS level = 32768.0
> > >
> > > Csound version 6.06 (double samples) Sep 29 2015
> > >
> > > libsndfile-1.0.25
> > >
> > > end of score.   overall amps:      0.0
> > >
> > >   overall samples out of range:        0
> > >
> > > 0 errors in performance
> > >
> > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > >
> > > QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
> > >
> > > QWidget: Must construct a QApplication before a QPaintDevice
> > >
> > > Csound tidy up: Abort trap
> > >
> > >
> > > Hope it helps!
> > >
> > > Nikhil
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > Oh, one thing makes me attentive:
> > > > >  and added
> > > > >
> > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but
> >
> > as of
> >
> > > > > today it fails to find a main() function without specifying this -
> >
> > not
> >
> > > > sure
> > > >
> > > > > if this is significant)
> > > >
> > > > Did you pull from develop branch? Maybe I messed up something with
> >
> > latest
> >
> > > > changes. If not, can you try? It should not be necessary to add that
> >
> > flag.
> >
> > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
It's working now - not a problem! I don't think it was a serious issue: initially it was complaining about requiring Qt 4.x but it seems to have built correctly now, not sure what changed but I'll definitely look into it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank you for all the help!

Nikhil Singh | Berklee College of Music '17

On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <[hidden email]> wrote:
On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> That might indeed be the issue as PythonQt refuses to build with Qt5.5 (it
> insists on needing 4.x). I did try uninstalling Qt4 but this seemed to have
> no effect other than prohibiting the building of PythonQt. I can try using
> a slightly older (but >5.3) version of Qt and will also delve into the
> sources and try to see how I can make this work - thanks! I tried both the
> experiments, the results were:

We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10 and I
think Johannes succeeded also on 10.11. So it should not be problem of Qt 5
(also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error output
when you build PythonQt!

>
> 2) Delete everything from qcs_macx.pro concerning architecture
>
>
> *Builds and runs without a problem!*
OK, thanks.  Good to know. This might be the best option then, although it
does not support older architectures any more...

tarmo

>
>
> Hope this is helpful,
> Nikhil
>
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Hi,
> >
> > Could it be that you built PythonQt wiht qt4? If there are many qt
> > versions
> > installed, it is wise to use qmake with the whole path like
> >
> >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec macx-clang
> >
> > CONFIG+=x86_64 CONFIG+=rtmidi
> >
> > (From Johannes Schütt instructions)?
> >
> > Or can you check with otool (somehow), which libraries CsoundQt (or rather
> > PythonQt) is linked against to?
> >
> > A bad and hard solution would be to uninstall Qt4, but this may break
> > something else.  I did not find a nice elegant solution form google as
> > well at
> > the first try. Please let know, how it goes!
> >
> > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > It was indeed from the develop branch, pulled around 21 hours ago. I can
> > > try pulling again if that would be helpful!
> >
> > Hmm, can you try two experiments:
> >
> > 1) delete this section with qcs-macx.pro:
> > x86_64: {
> > CONFIG += x86_64
> > QMAKE_CXXFLAGS += -arch x86_64
> > }
> >
> > 2) delete everything concerning architecture:
> > !ppc: !x86_64:  {
> > CONFIG += i386
> > QMAKE_CXXFLAGS += -arch i386
> > }
> > universal: {
> > QMAKE_CXXFLAGS += -arch i386
> > CONFIG += i386
> > CONFIG += ppc
> > }
> >
> > x86_64: {
> > CONFIG += x86_64
> > QMAKE_CXXFLAGS += -arch x86_64
> > }
> >
> > > The PythonQt libraries do seem
> > > to be in the right place, and the examples compile to object code (they
> >
> > are
> >
> > > set to used builds from the same folder by default, but I tried setting
> > > them to /usr/local/lib and it still works, so the library is installed
> >
> > and
> >
> > > accessible). Here is the output from running the app from command line,
> >
> > the
> >
> > > info is similar:
> > >
> > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > One of the two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > One of the two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSApplication is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSImageView is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSStatusItem is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > objc[52731]: Class QNSMenu is implemented in both
> > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One of
> >
> > the
> >
> > > two will be used. Which one is undefined.
> > >
> > > virtual_keyboard real time MIDI plugin for Csound
> > >
> > > WARNING: STK opodes not available: define environment variable
> >
> > RAWWAVE_PATH
> >
> > > (points to rawwaves directory) to use STK opcodes.
> > >
> > > 0dBFS level = 32768.0
> > >
> > > Csound version 6.06 (double samples) Sep 29 2015
> > >
> > > libsndfile-1.0.25
> > >
> > > end of score.   overall amps:      0.0
> > >
> > >   overall samples out of range:        0
> > >
> > > 0 errors in performance
> > >
> > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > >
> > > QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
> > >
> > > QWidget: Must construct a QApplication before a QPaintDevice
> > >
> > > Csound tidy up: Abort trap
> > >
> > >
> > > Hope it helps!
> > >
> > > Nikhil
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > Oh, one thing makes me attentive:
> > > > >  and added
> > > > >
> > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously, but
> >
> > as of
> >
> > > > > today it fails to find a main() function without specifying this -
> >
> > not
> >
> > > > sure
> > > >
> > > > > if this is significant)
> > > >
> > > > Did you pull from develop branch? Maybe I messed up something with
> >
> > latest
> >
> > > > changes. If not, can you try? It should not be necessary to add that
> >
> > flag.
> >
> > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
Superb!

Thank you for your patience, not gving up and giving feedback! -  very useful
for all users.

tarmo



On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:

> It's working now - not a problem! I don't think it was a serious issue:
> initially it was complaining about requiring Qt 4.x but it seems to have
> built correctly now, not sure what changed but I'll definitely look into
> it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank you
> for all the help!
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > That might indeed be the issue as PythonQt refuses to build with Qt5.5
> >
> > (it
> >
> > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed to
> >
> > have
> >
> > > no effect other than prohibiting the building of PythonQt. I can try
> >
> > using
> >
> > > a slightly older (but >5.3) version of Qt and will also delve into the
> > > sources and try to see how I can make this work - thanks! I tried both
> >
> > the
> >
> > > experiments, the results were:
> > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10 and I
> > think Johannes succeeded also on 10.11. So it should not be problem of Qt
> > 5
> > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > output
> > when you build PythonQt!
> >
> > > 2) Delete everything from qcs_macx.pro concerning architecture
> > >
> > >
> > > *Builds and runs without a problem!*
> >
> > OK, thanks.  Good to know. This might be the best option then, although it
> > does not support older architectures any more...
> >
> > tarmo
> >
> > > Hope this is helpful,
> > > Nikhil
> > >
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > Hi,
> > > >
> > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > versions
> > > > installed, it is wise to use qmake with the whole path like
> > > >
> > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> >
> > macx-clang
> >
> > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > >
> > > > (From Johannes Schütt instructions)?
> > > >
> > > > Or can you check with otool (somehow), which libraries CsoundQt (or
> >
> > rather
> >
> > > > PythonQt) is linked against to?
> > > >
> > > > A bad and hard solution would be to uninstall Qt4, but this may break
> > > > something else.  I did not find a nice elegant solution form google as
> > > > well at
> > > > the first try. Please let know, how it goes!
> > > >
> > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > It was indeed from the develop branch, pulled around 21 hours ago. I
> >
> > can
> >
> > > > > try pulling again if that would be helpful!
> > > >
> > > > Hmm, can you try two experiments:
> > > >
> > > > 1) delete this section with qcs-macx.pro:
> > > > x86_64: {
> > > > CONFIG += x86_64
> > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > }
> > > >
> > > > 2) delete everything concerning architecture:
> > > > !ppc: !x86_64:  {
> > > > CONFIG += i386
> > > > QMAKE_CXXFLAGS += -arch i386
> > > > }
> > > > universal: {
> > > > QMAKE_CXXFLAGS += -arch i386
> > > > CONFIG += i386
> > > > CONFIG += ppc
> > > > }
> > > >
> > > > x86_64: {
> > > > CONFIG += x86_64
> > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > }
> > > >
> > > > > The PythonQt libraries do seem
> > > > > to be in the right place, and the examples compile to object code
> >
> > (they
> >
> > > > are
> > > >
> > > > > set to used builds from the same folder by default, but I tried
> >
> > setting
> >
> > > > > them to /usr/local/lib and it still works, so the library is
> >
> > installed
> >
> > > > and
> > > >
> > > > > accessible). Here is the output from running the app from command
> >
> > line,
> >
> > > > the
> > > >
> > > > > info is similar:
> > > > >
> > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > One of the two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > One of the two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > >
> > > > > WARNING: STK opodes not available: define environment variable
> > > >
> > > > RAWWAVE_PATH
> > > >
> > > > > (points to rawwaves directory) to use STK opcodes.
> > > > >
> > > > > 0dBFS level = 32768.0
> > > > >
> > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > >
> > > > > libsndfile-1.0.25
> > > > >
> > > > > end of score.   overall amps:      0.0
> > > > >
> > > > >   overall samples out of range:        0
> > > > >
> > > > > 0 errors in performance
> > > > >
> > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > >
> > > > > QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
> > > > >
> > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > >
> > > > > Csound tidy up: Abort trap
> > > > >
> > > > >
> > > > > Hope it helps!
> > > > >
> > > > > Nikhil
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Oh, one thing makes me attentive:
> > > > > > >  and added
> > > > > > >
> > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously,
> >
> > but
> >
> > > > as of
> > > >
> > > > > > > today it fails to find a main() function without specifying this
> >
> > -
> >
> > > > not
> > > >
> > > > > > sure
> > > > > >
> > > > > > > if this is significant)
> > > > > >
> > > > > > Did you pull from develop branch? Maybe I messed up something with
> > > >
> > > > latest
> > > >
> > > > > > changes. If not, can you try? It should not be necessary to add
> >
> > that
> >
> > > > flag.
> > > >
> > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Nikhil Singh
Hi, thanks for all the help again! I have a small update, not sure if this is a significant issue for the building of the binaries, but thought that it wouldn't hurt to report:

With the newest version of Qt (5.6.0), the version of CsoundQt with PythonQt support does not build correctly and previously compiled builds do not run correctly because of a couple of missing libraries - QtWebkit and QtWebkitWidgets. I've been trying to remedy this using the installers from Qt (as opposed to homebrew), and manually copying the libraries from 5.5.1 into the right directories, etc. but haven't had much success yet - will keep trying. Again, not sure if this is important but I thought I'd report it anyway! Tested on two macs, both running OS 10.11.3

Best,
Nikhil

On Tue, Mar 15, 2016 at 2:39 AM, Tarmo Johannes <[hidden email]> wrote:
Superb!

Thank you for your patience, not gving up and giving feedback! -  very useful
for all users.

tarmo



On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:
> It's working now - not a problem! I don't think it was a serious issue:
> initially it was complaining about requiring Qt 4.x but it seems to have
> built correctly now, not sure what changed but I'll definitely look into
> it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank you
> for all the help!
>
> *Nikhil Singh *| Berklee College of Music '17
> *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
>
> On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > That might indeed be the issue as PythonQt refuses to build with Qt5.5
> >
> > (it
> >
> > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed to
> >
> > have
> >
> > > no effect other than prohibiting the building of PythonQt. I can try
> >
> > using
> >
> > > a slightly older (but >5.3) version of Qt and will also delve into the
> > > sources and try to see how I can make this work - thanks! I tried both
> >
> > the
> >
> > > experiments, the results were:
> > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10 and I
> > think Johannes succeeded also on 10.11. So it should not be problem of Qt
> > 5
> > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > output
> > when you build PythonQt!
> >
> > > 2) Delete everything from qcs_macx.pro concerning architecture
> > >
> > >
> > > *Builds and runs without a problem!*
> >
> > OK, thanks.  Good to know. This might be the best option then, although it
> > does not support older architectures any more...
> >
> > tarmo
> >
> > > Hope this is helpful,
> > > Nikhil
> > >
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > Hi,
> > > >
> > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > versions
> > > > installed, it is wise to use qmake with the whole path like
> > > >
> > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> >
> > macx-clang
> >
> > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > >
> > > > (From Johannes Schütt instructions)?
> > > >
> > > > Or can you check with otool (somehow), which libraries CsoundQt (or
> >
> > rather
> >
> > > > PythonQt) is linked against to?
> > > >
> > > > A bad and hard solution would be to uninstall Qt4, but this may break
> > > > something else.  I did not find a nice elegant solution form google as
> > > > well at
> > > > the first try. Please let know, how it goes!
> > > >
> > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > It was indeed from the develop branch, pulled around 21 hours ago. I
> >
> > can
> >
> > > > > try pulling again if that would be helpful!
> > > >
> > > > Hmm, can you try two experiments:
> > > >
> > > > 1) delete this section with qcs-macx.pro:
> > > > x86_64: {
> > > > CONFIG += x86_64
> > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > }
> > > >
> > > > 2) delete everything concerning architecture:
> > > > !ppc: !x86_64:  {
> > > > CONFIG += i386
> > > > QMAKE_CXXFLAGS += -arch i386
> > > > }
> > > > universal: {
> > > > QMAKE_CXXFLAGS += -arch i386
> > > > CONFIG += i386
> > > > CONFIG += ppc
> > > > }
> > > >
> > > > x86_64: {
> > > > CONFIG += x86_64
> > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > }
> > > >
> > > > > The PythonQt libraries do seem
> > > > > to be in the right place, and the examples compile to object code
> >
> > (they
> >
> > > > are
> > > >
> > > > > set to used builds from the same folder by default, but I tried
> >
> > setting
> >
> > > > > them to /usr/local/lib and it still works, so the library is
> >
> > installed
> >
> > > > and
> > > >
> > > > > accessible). Here is the output from running the app from command
> >
> > line,
> >
> > > > the
> > > >
> > > > > info is similar:
> > > > >
> > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > One of the two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > One of the two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib. One
> >
> > of
> >
> > > > the
> > > >
> > > > > two will be used. Which one is undefined.
> > > > >
> > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > >
> > > > > WARNING: STK opodes not available: define environment variable
> > > >
> > > > RAWWAVE_PATH
> > > >
> > > > > (points to rawwaves directory) to use STK opcodes.
> > > > >
> > > > > 0dBFS level = 32768.0
> > > > >
> > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > >
> > > > > libsndfile-1.0.25
> > > > >
> > > > > end of score.   overall amps:      0.0
> > > > >
> > > > >   overall samples out of range:        0
> > > > >
> > > > > 0 errors in performance
> > > > >
> > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > >
> > > > > QObject::connect: No such slot WidgetPanel::dockStateChanged(bool)
> > > > >
> > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > >
> > > > > Csound tidy up: Abort trap
> > > > >
> > > > >
> > > > > Hope it helps!
> > > > >
> > > > > Nikhil
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Oh, one thing makes me attentive:
> > > > > > >  and added
> > > > > > >
> > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary previously,
> >
> > but
> >
> > > > as of
> > > >
> > > > > > > today it fails to find a main() function without specifying this
> >
> > -
> >
> > > > not
> > > >
> > > > > > sure
> > > > > >
> > > > > > > if this is significant)
> > > > > >
> > > > > > Did you pull from develop branch? Maybe I messed up something with
> > > >
> > > > latest
> > > >
> > > > > > changes. If not, can you try? It should not be necessary to add
> >
> > that
> >
> > > > flag.
> > > >
> > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
Hi,

Thanks for reporting! I was thinking to test Qt 5.6 as well.

Mostl likely your installation of Qt is lacking
QtWebkit and QtWebkitWidgets modules.

Thers should be a pogram Maintanance_tool in the folder whre you installed qt.
Open it and see if any of the modules under 5.6 is isunchecked.  I guess for
PythonQt you need most of the modules.

Hope it helps.
tarmo

On Monday 21 March 2016 01:32:04 Nikhil Singh wrote:

> Hi, thanks for all the help again! I have a small update, not sure if this
> is a significant issue for the building of the binaries, but thought that
> it wouldn't hurt to report:
>
> With the newest version of Qt (5.6.0), the version of CsoundQt with
> PythonQt support does not build correctly and previously compiled builds do
> not run correctly because of a couple of missing libraries - QtWebkit and
> QtWebkitWidgets. I've been trying to remedy this using the installers from
> Qt (as opposed to homebrew), and manually copying the libraries from 5.5.1
> into the right directories, etc. but haven't had much success yet - will
> keep trying. Again, not sure if this is important but I thought I'd report
> it anyway! Tested on two macs, both running OS 10.11.3
>
> Best,
> Nikhil
>
> On Tue, Mar 15, 2016 at 2:39 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Superb!
> >
> > Thank you for your patience, not gving up and giving feedback! -  very
> > useful
> > for all users.
> >
> > tarmo
> >
> > On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:
> > > It's working now - not a problem! I don't think it was a serious issue:
> > > initially it was complaining about requiring Qt 4.x but it seems to have
> > > built correctly now, not sure what changed but I'll definitely look into
> > > it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank
> >
> > you
> >
> > > for all the help!
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > > > That might indeed be the issue as PythonQt refuses to build with
> >
> > Qt5.5
> >
> > > > (it
> > > >
> > > > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed
> >
> > to
> >
> > > > have
> > > >
> > > > > no effect other than prohibiting the building of PythonQt. I can try
> > > >
> > > > using
> > > >
> > > > > a slightly older (but >5.3) version of Qt and will also delve into
> >
> > the
> >
> > > > > sources and try to see how I can make this work - thanks! I tried
> >
> > both
> >
> > > > the
> > > >
> > > > > experiments, the results were:
> > > > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10
> >
> > and I
> >
> > > > think Johannes succeeded also on 10.11. So it should not be problem of
> >
> > Qt
> >
> > > > 5
> > > > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > > > output
> > > > when you build PythonQt!
> > > >
> > > > > 2) Delete everything from qcs_macx.pro concerning architecture
> > > > >
> > > > >
> > > > > *Builds and runs without a problem!*
> > > >
> > > > OK, thanks.  Good to know. This might be the best option then,
> >
> > although it
> >
> > > > does not support older architectures any more...
> > > >
> > > > tarmo
> > > >
> > > > > Hope this is helpful,
> > > > > Nikhil
> > > > >
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > > > versions
> > > > > > installed, it is wise to use qmake with the whole path like
> > > > > >
> > > > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> > > >
> > > > macx-clang
> > > >
> > > > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > > > >
> > > > > > (From Johannes Schütt instructions)?
> > > > > >
> > > > > > Or can you check with otool (somehow), which libraries CsoundQt
> > > > > > (or
> > > >
> > > > rather
> > > >
> > > > > > PythonQt) is linked against to?
> > > > > >
> > > > > > A bad and hard solution would be to uninstall Qt4, but this may
> >
> > break
> >
> > > > > > something else.  I did not find a nice elegant solution form
> >
> > google as
> >
> > > > > > well at
> > > > > > the first try. Please let know, how it goes!
> > > > > >
> > > > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > > > It was indeed from the develop branch, pulled around 21 hours
> >
> > ago. I
> >
> > > > can
> > > >
> > > > > > > try pulling again if that would be helpful!
> > > > > >
> > > > > > Hmm, can you try two experiments:
> > > > > >
> > > > > > 1) delete this section with qcs-macx.pro:
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > 2) delete everything concerning architecture:
> > > > > > !ppc: !x86_64:  {
> > > > > > CONFIG += i386
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > }
> > > > > > universal: {
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > CONFIG += i386
> > > > > > CONFIG += ppc
> > > > > > }
> > > > > >
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > > The PythonQt libraries do seem
> > > > > > > to be in the right place, and the examples compile to object
> > > > > > > code
> > > >
> > > > (they
> > > >
> > > > > > are
> > > > > >
> > > > > > > set to used builds from the same folder by default, but I tried
> > > >
> > > > setting
> > > >
> > > > > > > them to /usr/local/lib and it still works, so the library is
> > > >
> > > > installed
> > > >
> > > > > > and
> > > > > >
> > > > > > > accessible). Here is the output from running the app from
> > > > > > > command
> > > >
> > > > line,
> > > >
> > > > > > the
> > > > > >
> > > > > > > info is similar:
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > > > >
> > > > > > > WARNING: STK opodes not available: define environment variable
> > > > > >
> > > > > > RAWWAVE_PATH
> > > > > >
> > > > > > > (points to rawwaves directory) to use STK opcodes.
> > > > > > >
> > > > > > > 0dBFS level = 32768.0
> > > > > > >
> > > > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > > > >
> > > > > > > libsndfile-1.0.25
> > > > > > >
> > > > > > > end of score.   overall amps:      0.0
> > > > > > >
> > > > > > >   overall samples out of range:        0
> > > > > > >
> > > > > > > 0 errors in performance
> > > > > > >
> > > > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > > > >
> > > > > > > QObject::connect: No such slot
> >
> > WidgetPanel::dockStateChanged(bool)
> >
> > > > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > > > >
> > > > > > > Csound tidy up: Abort trap
> > > > > > >
> > > > > > >
> > > > > > > Hope it helps!
> > > > > > >
> > > > > > > Nikhil
> > > > > > >
> > > > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > > > >
> > > > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > > > >
> > > > > > > [hidden email]> wrote:
> > > > > > > > Oh, one thing makes me attentive:
> > > > > > > > >  and added
> > > > > > > > >
> > > > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary
> >
> > previously,
> >
> > > > but
> > > >
> > > > > > as of
> > > > > >
> > > > > > > > > today it fails to find a main() function without specifying
> >
> > this
> >
> > > > -
> > > >
> > > > > > not
> > > > > >
> > > > > > > > sure
> > > > > > > >
> > > > > > > > > if this is significant)
> > > > > > > >
> > > > > > > > Did you pull from develop branch? Maybe I messed up something
> >
> > with
> >
> > > > > > latest
> > > > > >
> > > > > > > > changes. If not, can you try? It should not be necessary to
> > > > > > > > add
> > > >
> > > > that
> > > >
> > > > > > flag.
> > > > > >
> > > > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > > > ---- Transform Data into Opportunity.
> > > > > > > > Accelerate data analysis in your applications with
> > > > > > > > Intel Data Analytics Acceleration Library.
> > > > > > > > Click to learn more.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >
> > > > > > > > _______________________________________________
> > > > > > > > Qutecsound-users mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes
In reply to this post by Nikhil Singh
Hi,

I installed Qt 5.6.0 and get the same result the WebKit and WebKit  are not
there among other libs. If Qt changes something, it breaks PythonQt.

So far it is recommended to use Qt 5.4.2 on OSX or 5.5.1 on Linux and Windows,
if you want to build with PythonQt support.

Thanks for reporting! I will try to investigate it later, if there is a
solution.

tarmo

On Monday 21 March 2016 01:32:04 Nikhil Singh wrote:

> Hi, thanks for all the help again! I have a small update, not sure if this
> is a significant issue for the building of the binaries, but thought that
> it wouldn't hurt to report:
>
> With the newest version of Qt (5.6.0), the version of CsoundQt with
> PythonQt support does not build correctly and previously compiled builds do
> not run correctly because of a couple of missing libraries - QtWebkit and
> QtWebkitWidgets. I've been trying to remedy this using the installers from
> Qt (as opposed to homebrew), and manually copying the libraries from 5.5.1
> into the right directories, etc. but haven't had much success yet - will
> keep trying. Again, not sure if this is important but I thought I'd report
> it anyway! Tested on two macs, both running OS 10.11.3
>
> Best,
> Nikhil
>
> On Tue, Mar 15, 2016 at 2:39 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Superb!
> >
> > Thank you for your patience, not gving up and giving feedback! -  very
> > useful
> > for all users.
> >
> > tarmo
> >
> > On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:
> > > It's working now - not a problem! I don't think it was a serious issue:
> > > initially it was complaining about requiring Qt 4.x but it seems to have
> > > built correctly now, not sure what changed but I'll definitely look into
> > > it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank
> >
> > you
> >
> > > for all the help!
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > > > That might indeed be the issue as PythonQt refuses to build with
> >
> > Qt5.5
> >
> > > > (it
> > > >
> > > > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed
> >
> > to
> >
> > > > have
> > > >
> > > > > no effect other than prohibiting the building of PythonQt. I can try
> > > >
> > > > using
> > > >
> > > > > a slightly older (but >5.3) version of Qt and will also delve into
> >
> > the
> >
> > > > > sources and try to see how I can make this work - thanks! I tried
> >
> > both
> >
> > > > the
> > > >
> > > > > experiments, the results were:
> > > > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10
> >
> > and I
> >
> > > > think Johannes succeeded also on 10.11. So it should not be problem of
> >
> > Qt
> >
> > > > 5
> > > > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > > > output
> > > > when you build PythonQt!
> > > >
> > > > > 2) Delete everything from qcs_macx.pro concerning architecture
> > > > >
> > > > >
> > > > > *Builds and runs without a problem!*
> > > >
> > > > OK, thanks.  Good to know. This might be the best option then,
> >
> > although it
> >
> > > > does not support older architectures any more...
> > > >
> > > > tarmo
> > > >
> > > > > Hope this is helpful,
> > > > > Nikhil
> > > > >
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > > > versions
> > > > > > installed, it is wise to use qmake with the whole path like
> > > > > >
> > > > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> > > >
> > > > macx-clang
> > > >
> > > > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > > > >
> > > > > > (From Johannes Schütt instructions)?
> > > > > >
> > > > > > Or can you check with otool (somehow), which libraries CsoundQt
> > > > > > (or
> > > >
> > > > rather
> > > >
> > > > > > PythonQt) is linked against to?
> > > > > >
> > > > > > A bad and hard solution would be to uninstall Qt4, but this may
> >
> > break
> >
> > > > > > something else.  I did not find a nice elegant solution form
> >
> > google as
> >
> > > > > > well at
> > > > > > the first try. Please let know, how it goes!
> > > > > >
> > > > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > > > It was indeed from the develop branch, pulled around 21 hours
> >
> > ago. I
> >
> > > > can
> > > >
> > > > > > > try pulling again if that would be helpful!
> > > > > >
> > > > > > Hmm, can you try two experiments:
> > > > > >
> > > > > > 1) delete this section with qcs-macx.pro:
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > 2) delete everything concerning architecture:
> > > > > > !ppc: !x86_64:  {
> > > > > > CONFIG += i386
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > }
> > > > > > universal: {
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > CONFIG += i386
> > > > > > CONFIG += ppc
> > > > > > }
> > > > > >
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > > The PythonQt libraries do seem
> > > > > > > to be in the right place, and the examples compile to object
> > > > > > > code
> > > >
> > > > (they
> > > >
> > > > > > are
> > > > > >
> > > > > > > set to used builds from the same folder by default, but I tried
> > > >
> > > > setting
> > > >
> > > > > > > them to /usr/local/lib and it still works, so the library is
> > > >
> > > > installed
> > > >
> > > > > > and
> > > > > >
> > > > > > > accessible). Here is the output from running the app from
> > > > > > > command
> > > >
> > > > line,
> > > >
> > > > > > the
> > > > > >
> > > > > > > info is similar:
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > > > >
> > > > > > > WARNING: STK opodes not available: define environment variable
> > > > > >
> > > > > > RAWWAVE_PATH
> > > > > >
> > > > > > > (points to rawwaves directory) to use STK opcodes.
> > > > > > >
> > > > > > > 0dBFS level = 32768.0
> > > > > > >
> > > > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > > > >
> > > > > > > libsndfile-1.0.25
> > > > > > >
> > > > > > > end of score.   overall amps:      0.0
> > > > > > >
> > > > > > >   overall samples out of range:        0
> > > > > > >
> > > > > > > 0 errors in performance
> > > > > > >
> > > > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > > > >
> > > > > > > QObject::connect: No such slot
> >
> > WidgetPanel::dockStateChanged(bool)
> >
> > > > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > > > >
> > > > > > > Csound tidy up: Abort trap
> > > > > > >
> > > > > > >
> > > > > > > Hope it helps!
> > > > > > >
> > > > > > > Nikhil
> > > > > > >
> > > > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > > > >
> > > > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > > > >
> > > > > > > [hidden email]> wrote:
> > > > > > > > Oh, one thing makes me attentive:
> > > > > > > > >  and added
> > > > > > > > >
> > > > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary
> >
> > previously,
> >
> > > > but
> > > >
> > > > > > as of
> > > > > >
> > > > > > > > > today it fails to find a main() function without specifying
> >
> > this
> >
> > > > -
> > > >
> > > > > > not
> > > > > >
> > > > > > > > sure
> > > > > > > >
> > > > > > > > > if this is significant)
> > > > > > > >
> > > > > > > > Did you pull from develop branch? Maybe I messed up something
> >
> > with
> >
> > > > > > latest
> > > > > >
> > > > > > > > changes. If not, can you try? It should not be necessary to
> > > > > > > > add
> > > >
> > > > that
> > > >
> > > > > > flag.
> > > > > >
> > > > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > > > ---- Transform Data into Opportunity.
> > > > > > > > Accelerate data analysis in your applications with
> > > > > > > > Intel Data Analytics Acceleration Library.
> > > > > > > > Click to learn more.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >
> > > > > > > > _______________________________________________
> > > > > > > > Qutecsound-users mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Andres Cabrera
Administrator

I seem to to remember that the WebKit modules as considered deprecated. Perhaps they have been removed from the qt distribution?

Cheers,
Andrés

On Mar 21, 2016 3:37 AM, "Tarmo Johannes" <[hidden email]> wrote:
Hi,

I installed Qt 5.6.0 and get the same result the WebKit and WebKit  are not
there among other libs. If Qt changes something, it breaks PythonQt.

So far it is recommended to use Qt 5.4.2 on OSX or 5.5.1 on Linux and Windows,
if you want to build with PythonQt support.

Thanks for reporting! I will try to investigate it later, if there is a
solution.

tarmo

On Monday 21 March 2016 01:32:04 Nikhil Singh wrote:
> Hi, thanks for all the help again! I have a small update, not sure if this
> is a significant issue for the building of the binaries, but thought that
> it wouldn't hurt to report:
>
> With the newest version of Qt (5.6.0), the version of CsoundQt with
> PythonQt support does not build correctly and previously compiled builds do
> not run correctly because of a couple of missing libraries - QtWebkit and
> QtWebkitWidgets. I've been trying to remedy this using the installers from
> Qt (as opposed to homebrew), and manually copying the libraries from 5.5.1
> into the right directories, etc. but haven't had much success yet - will
> keep trying. Again, not sure if this is important but I thought I'd report
> it anyway! Tested on two macs, both running OS 10.11.3
>
> Best,
> Nikhil
>
> On Tue, Mar 15, 2016 at 2:39 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Superb!
> >
> > Thank you for your patience, not gving up and giving feedback! -  very
> > useful
> > for all users.
> >
> > tarmo
> >
> > On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:
> > > It's working now - not a problem! I don't think it was a serious issue:
> > > initially it was complaining about requiring Qt 4.x but it seems to have
> > > built correctly now, not sure what changed but I'll definitely look into
> > > it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank
> >
> > you
> >
> > > for all the help!
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > > > That might indeed be the issue as PythonQt refuses to build with
> >
> > Qt5.5
> >
> > > > (it
> > > >
> > > > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed
> >
> > to
> >
> > > > have
> > > >
> > > > > no effect other than prohibiting the building of PythonQt. I can try
> > > >
> > > > using
> > > >
> > > > > a slightly older (but >5.3) version of Qt and will also delve into
> >
> > the
> >
> > > > > sources and try to see how I can make this work - thanks! I tried
> >
> > both
> >
> > > > the
> > > >
> > > > > experiments, the results were:
> > > > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10
> >
> > and I
> >
> > > > think Johannes succeeded also on 10.11. So it should not be problem of
> >
> > Qt
> >
> > > > 5
> > > > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > > > output
> > > > when you build PythonQt!
> > > >
> > > > > 2) Delete everything from qcs_macx.pro concerning architecture
> > > > >
> > > > >
> > > > > *Builds and runs without a problem!*
> > > >
> > > > OK, thanks.  Good to know. This might be the best option then,
> >
> > although it
> >
> > > > does not support older architectures any more...
> > > >
> > > > tarmo
> > > >
> > > > > Hope this is helpful,
> > > > > Nikhil
> > > > >
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > > > versions
> > > > > > installed, it is wise to use qmake with the whole path like
> > > > > >
> > > > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> > > >
> > > > macx-clang
> > > >
> > > > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > > > >
> > > > > > (From Johannes Schütt instructions)?
> > > > > >
> > > > > > Or can you check with otool (somehow), which libraries CsoundQt
> > > > > > (or
> > > >
> > > > rather
> > > >
> > > > > > PythonQt) is linked against to?
> > > > > >
> > > > > > A bad and hard solution would be to uninstall Qt4, but this may
> >
> > break
> >
> > > > > > something else.  I did not find a nice elegant solution form
> >
> > google as
> >
> > > > > > well at
> > > > > > the first try. Please let know, how it goes!
> > > > > >
> > > > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > > > It was indeed from the develop branch, pulled around 21 hours
> >
> > ago. I
> >
> > > > can
> > > >
> > > > > > > try pulling again if that would be helpful!
> > > > > >
> > > > > > Hmm, can you try two experiments:
> > > > > >
> > > > > > 1) delete this section with qcs-macx.pro:
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > 2) delete everything concerning architecture:
> > > > > > !ppc: !x86_64:  {
> > > > > > CONFIG += i386
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > }
> > > > > > universal: {
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > CONFIG += i386
> > > > > > CONFIG += ppc
> > > > > > }
> > > > > >
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > > The PythonQt libraries do seem
> > > > > > > to be in the right place, and the examples compile to object
> > > > > > > code
> > > >
> > > > (they
> > > >
> > > > > > are
> > > > > >
> > > > > > > set to used builds from the same folder by default, but I tried
> > > >
> > > > setting
> > > >
> > > > > > > them to /usr/local/lib and it still works, so the library is
> > > >
> > > > installed
> > > >
> > > > > > and
> > > > > >
> > > > > > > accessible). Here is the output from running the app from
> > > > > > > command
> > > >
> > > > line,
> > > >
> > > > > > the
> > > > > >
> > > > > > > info is similar:
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > > > >
> > > > > > > WARNING: STK opodes not available: define environment variable
> > > > > >
> > > > > > RAWWAVE_PATH
> > > > > >
> > > > > > > (points to rawwaves directory) to use STK opcodes.
> > > > > > >
> > > > > > > 0dBFS level = 32768.0
> > > > > > >
> > > > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > > > >
> > > > > > > libsndfile-1.0.25
> > > > > > >
> > > > > > > end of score.   overall amps:      0.0
> > > > > > >
> > > > > > >   overall samples out of range:        0
> > > > > > >
> > > > > > > 0 errors in performance
> > > > > > >
> > > > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > > > >
> > > > > > > QObject::connect: No such slot
> >
> > WidgetPanel::dockStateChanged(bool)
> >
> > > > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > > > >
> > > > > > > Csound tidy up: Abort trap
> > > > > > >
> > > > > > >
> > > > > > > Hope it helps!
> > > > > > >
> > > > > > > Nikhil
> > > > > > >
> > > > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > > > >
> > > > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > > > >
> > > > > > > [hidden email]> wrote:
> > > > > > > > Oh, one thing makes me attentive:
> > > > > > > > >  and added
> > > > > > > > >
> > > > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary
> >
> > previously,
> >
> > > > but
> > > >
> > > > > > as of
> > > > > >
> > > > > > > > > today it fails to find a main() function without specifying
> >
> > this
> >
> > > > -
> > > >
> > > > > > not
> > > > > >
> > > > > > > > sure
> > > > > > > >
> > > > > > > > > if this is significant)
> > > > > > > >
> > > > > > > > Did you pull from develop branch? Maybe I messed up something
> >
> > with
> >
> > > > > > latest
> > > > > >
> > > > > > > > changes. If not, can you try? It should not be necessary to
> > > > > > > > add
> > > >
> > > > that
> > > >
> > > > > > flag.
> > > > > >
> > > > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > > > ---- Transform Data into Opportunity.
> > > > > > > > Accelerate data analysis in your applications with
> > > > > > > > Intel Data Analytics Acceleration Library.
> > > > > > > > Click to learn more.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >
> > > > > > > > _______________________________________________
> > > > > > > > Qutecsound-users mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] CsoundQt Mac OS X Build Status

Tarmo Johannes

Yes,
QWebkit is replaced with QWebEngine in qt 5.6.0 The official PythonQt does not support it yet. I have not checked, how it is in their git. Until PuthonQt is not brought to support qt 5.6, I suggest not to use qt 5.6 it, if you want to build with pythonqt support.
I will update if there are any changes.

Tarmo

21.03.2016 16:15 kirjutas kuupäeval "Andres Cabrera" <[hidden email]>:

I seem to to remember that the WebKit modules as considered deprecated. Perhaps they have been removed from the qt distribution?

Cheers,
Andrés

On Mar 21, 2016 3:37 AM, "Tarmo Johannes" <[hidden email]> wrote:
Hi,

I installed Qt 5.6.0 and get the same result the WebKit and WebKit  are not
there among other libs. If Qt changes something, it breaks PythonQt.

So far it is recommended to use Qt 5.4.2 on OSX or 5.5.1 on Linux and Windows,
if you want to build with PythonQt support.

Thanks for reporting! I will try to investigate it later, if there is a
solution.

tarmo

On Monday 21 March 2016 01:32:04 Nikhil Singh wrote:
> Hi, thanks for all the help again! I have a small update, not sure if this
> is a significant issue for the building of the binaries, but thought that
> it wouldn't hurt to report:
>
> With the newest version of Qt (5.6.0), the version of CsoundQt with
> PythonQt support does not build correctly and previously compiled builds do
> not run correctly because of a couple of missing libraries - QtWebkit and
> QtWebkitWidgets. I've been trying to remedy this using the installers from
> Qt (as opposed to homebrew), and manually copying the libraries from 5.5.1
> into the right directories, etc. but haven't had much success yet - will
> keep trying. Again, not sure if this is important but I thought I'd report
> it anyway! Tested on two macs, both running OS 10.11.3
>
> Best,
> Nikhil
>
> On Tue, Mar 15, 2016 at 2:39 AM, Tarmo Johannes <
>
> [hidden email]> wrote:
> > Superb!
> >
> > Thank you for your patience, not gving up and giving feedback! -  very
> > useful
> > for all users.
> >
> > tarmo
> >
> > On Tuesday 15 March 2016 02:16:35 Nikhil Singh wrote:
> > > It's working now - not a problem! I don't think it was a serious issue:
> > > initially it was complaining about requiring Qt 4.x but it seems to have
> > > built correctly now, not sure what changed but I'll definitely look into
> > > it. For now, 0.9.2 with pythonqt and rtmidi is fully functional - thank
> >
> > you
> >
> > > for all the help!
> > >
> > > *Nikhil Singh *| Berklee College of Music '17
> > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > >
> > > On Tue, Mar 15, 2016 at 1:03 AM, Tarmo Johannes <
> > >
> > > [hidden email]> wrote:
> > > > On Monday 14 March 2016 18:39:27 Nikhil Singh wrote:
> > > > > That might indeed be the issue as PythonQt refuses to build with
> >
> > Qt5.5
> >
> > > > (it
> > > >
> > > > > insists on needing 4.x). I did try uninstalling Qt4 but this seemed
> >
> > to
> >
> > > > have
> > > >
> > > > > no effect other than prohibiting the building of PythonQt. I can try
> > > >
> > > > using
> > > >
> > > > > a slightly older (but >5.3) version of Qt and will also delve into
> >
> > the
> >
> > > > > sources and try to see how I can make this work - thanks! I tried
> >
> > both
> >
> > > > the
> > > >
> > > > > experiments, the results were:
> > > > We have built PythonQt 3.0 successfully with  Qt 5.5.1 on OSX 10.10
> >
> > and I
> >
> > > > think Johannes succeeded also on 10.11. So it should not be problem of
> >
> > Qt
> >
> > > > 5
> > > > (also build qith Wt 5.4 and 5.5 on Linux). Let know, what is the error
> > > > output
> > > > when you build PythonQt!
> > > >
> > > > > 2) Delete everything from qcs_macx.pro concerning architecture
> > > > >
> > > > >
> > > > > *Builds and runs without a problem!*
> > > >
> > > > OK, thanks.  Good to know. This might be the best option then,
> >
> > although it
> >
> > > > does not support older architectures any more...
> > > >
> > > > tarmo
> > > >
> > > > > Hope this is helpful,
> > > > > Nikhil
> > > > >
> > > > >
> > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > >
> > > > > On Mon, Mar 14, 2016 at 3:00 AM, Tarmo Johannes <
> > > > >
> > > > > [hidden email]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Could it be that you built PythonQt wiht qt4? If there are many qt
> > > > > > versions
> > > > > > installed, it is wise to use qmake with the whole path like
> > > > > >
> > > > > >  ~/Qt/5.4/clang_64/bin/qmake ~/src/CsoundQt/qcs.pro -r -spec
> > > >
> > > > macx-clang
> > > >
> > > > > > CONFIG+=x86_64 CONFIG+=rtmidi
> > > > > >
> > > > > > (From Johannes Schütt instructions)?
> > > > > >
> > > > > > Or can you check with otool (somehow), which libraries CsoundQt
> > > > > > (or
> > > >
> > > > rather
> > > >
> > > > > > PythonQt) is linked against to?
> > > > > >
> > > > > > A bad and hard solution would be to uninstall Qt4, but this may
> >
> > break
> >
> > > > > > something else.  I did not find a nice elegant solution form
> >
> > google as
> >
> > > > > > well at
> > > > > > the first try. Please let know, how it goes!
> > > > > >
> > > > > > On Sunday 13 March 2016 18:46:13 Nikhil Singh wrote:
> > > > > > > It was indeed from the develop branch, pulled around 21 hours
> >
> > ago. I
> >
> > > > can
> > > >
> > > > > > > try pulling again if that would be helpful!
> > > > > >
> > > > > > Hmm, can you try two experiments:
> > > > > >
> > > > > > 1) delete this section with qcs-macx.pro:
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > 2) delete everything concerning architecture:
> > > > > > !ppc: !x86_64:  {
> > > > > > CONFIG += i386
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > }
> > > > > > universal: {
> > > > > > QMAKE_CXXFLAGS += -arch i386
> > > > > > CONFIG += i386
> > > > > > CONFIG += ppc
> > > > > > }
> > > > > >
> > > > > > x86_64: {
> > > > > > CONFIG += x86_64
> > > > > > QMAKE_CXXFLAGS += -arch x86_64
> > > > > > }
> > > > > >
> > > > > > > The PythonQt libraries do seem
> > > > > > > to be in the right place, and the examples compile to object
> > > > > > > code
> > > >
> > > > (they
> > > >
> > > > > > are
> > > > > >
> > > > > > > set to used builds from the same folder by default, but I tried
> > > >
> > > > setting
> > > >
> > > > > > > them to /usr/local/lib and it still works, so the library is
> > > >
> > > > installed
> > > >
> > > > > > and
> > > > > >
> > > > > > > accessible). Here is the output from running the app from
> > > > > > > command
> > > >
> > > > line,
> > > >
> > > > > > the
> > > > > >
> > > > > > > info is similar:
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPageLayoutDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaPrintPanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> >
> > /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport.
> >
> > > > > > > One of the two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaApplicationDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSApplication is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QCocoaMenuLoader is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSOpenSavePanelDelegate is implemented in
> >
> > both
> >
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSImageView is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSStatusItem is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > objc[52731]: Class QNSMenu is implemented in both
> > > > > > > /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui and
> > > > > > > /usr/local/Cellar/qt5/5.5.1_2/plugins/platforms/libqcocoa.dylib.
> >
> > One
> >
> > > > of
> > > >
> > > > > > the
> > > > > >
> > > > > > > two will be used. Which one is undefined.
> > > > > > >
> > > > > > > virtual_keyboard real time MIDI plugin for Csound
> > > > > > >
> > > > > > > WARNING: STK opodes not available: define environment variable
> > > > > >
> > > > > > RAWWAVE_PATH
> > > > > >
> > > > > > > (points to rawwaves directory) to use STK opcodes.
> > > > > > >
> > > > > > > 0dBFS level = 32768.0
> > > > > > >
> > > > > > > Csound version 6.06 (double samples) Sep 29 2015
> > > > > > >
> > > > > > > libsndfile-1.0.25
> > > > > > >
> > > > > > > end of score.   overall amps:      0.0
> > > > > > >
> > > > > > >   overall samples out of range:        0
> > > > > > >
> > > > > > > 0 errors in performance
> > > > > > >
> > > > > > > Elapsed time at end of performance: real: 0.039s, CPU: 0.001s
> > > > > > >
> > > > > > > QObject::connect: No such slot
> >
> > WidgetPanel::dockStateChanged(bool)
> >
> > > > > > > QWidget: Must construct a QApplication before a QPaintDevice
> > > > > > >
> > > > > > > Csound tidy up: Abort trap
> > > > > > >
> > > > > > >
> > > > > > > Hope it helps!
> > > > > > >
> > > > > > > Nikhil
> > > > > > >
> > > > > > > *Nikhil Singh *| Berklee College of Music '17
> > > > > > > *www.nikhilsinghmusic.com <http://www.nikhilsinghmusic.com>*
> > > > > > >
> > > > > > > On Sun, Mar 13, 2016 at 5:48 PM, Tarmo Johannes <
> > > > > > >
> > > > > > > [hidden email]> wrote:
> > > > > > > > Oh, one thing makes me attentive:
> > > > > > > > >  and added
> > > > > > > > >
> > > > > > > > > CONFIG+=x86_64 as a qmake option (wasn't necessary
> >
> > previously,
> >
> > > > but
> > > >
> > > > > > as of
> > > > > >
> > > > > > > > > today it fails to find a main() function without specifying
> >
> > this
> >
> > > > -
> > > >
> > > > > > not
> > > > > >
> > > > > > > > sure
> > > > > > > >
> > > > > > > > > if this is significant)
> > > > > > > >
> > > > > > > > Did you pull from develop branch? Maybe I messed up something
> >
> > with
> >
> > > > > > latest
> > > > > >
> > > > > > > > changes. If not, can you try? It should not be necessary to
> > > > > > > > add
> > > >
> > > > that
> > > >
> > > > > > flag.
> > > > > >
> > > > > > > > tarmo
> >
> > --------------------------------------------------------------------------
> >
> > > > > > > > ---- Transform Data into Opportunity.
> > > > > > > > Accelerate data analysis in your applications with
> > > > > > > > Intel Data Analytics Acceleration Library.
> > > > > > > > Click to learn more.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >
> > > > > > > > _______________________________________________
> > > > > > > > Qutecsound-users mailing list
> > > > > > > > [hidden email]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > > > ---- Transform Data into Opportunity.
> > > > > > Accelerate data analysis in your applications with
> > > > > > Intel Data Analytics Acceleration Library.
> > > > > > Click to learn more.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > > > _______________________________________________
> > > > > > Qutecsound-users mailing list
> > > > > > [hidden email]
> > > > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> >
> > > > ---- Transform Data into Opportunity.
> > > > Accelerate data analysis in your applications with
> > > > Intel Data Analytics Acceleration Library.
> > > > Click to learn more.
> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > > > _______________________________________________
> > > > Qutecsound-users mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/qutecsound-users
> >
> > --------------------------------------------------------------------------
> > ---- Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> > _______________________________________________
> > Qutecsound-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Loading...