Hey Joel,

Thanks for reporting in. Qt's build system uses its own custom build tool,
qmake, to generate makefiles that refer to whichever version of Qt is
available. I'm unsure of how well this works when an application designed
for Qt4 is built on a system with Qt5, but I had hoped that there would be
a compatibility mode. My guess is this mismatch between Qt versions is the
ultimate source of the errors you are seeing. The currently posted source
archive is all-good on systems with Qt4, so I will investigate what happens
under Qt5.

spencer



On Mon, Sep 23, 2013 at 1:32 PM, Joel Matthys <[email protected]> wrote:

> Adding -I/usr/include/qt5/QtWidgets to the includes in the makefile fixes
> this error, but then I keep running into errors relating to misnamed or
> missing files. (For example, source files which include ui_mAMainWindow.h,
> which appears to have been renamed "mAMainWindow.ui.") Are you sure the
> release on the website is the final build?
>
> (Also wondering why the includes are qt5 but the instructions call for
> installation of qt4.)
>
> Joel
>
>
> On 09/23/2013 02:57 PM, Joel Matthys wrote:
>
>> I get a Qt error when I try to build for Linux. Ubuntu 13.04 32-bit.
>>
>> jwmatthys@matthys-vaio:~/**Software/miniAudicle-1.3.0/**src$ make
>> linux-alsa
>> make -f makefile.qt-alsa
>> make[1]: Entering directory `/home/jwmatthys/Software/**
>> miniAudicle-1.3.0/src'
>> g++ -c -pipe -D__LINUX_ALSA__ -D__CK_SNDFILE_NATIVE__ -D__LINUX__
>> -Ichuck/src -O3 -w -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB
>> -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/**linux-g++ -I.
>> -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui
>> -I/usr/include/qt5/QtCore -Ibuild -o build/mAMainWindow.o
>> qt/mAMainWindow.cpp
>> In file included from qt/mAMainWindow.cpp:25:0:
>> qt/mAMainWindow.h:28:23: fatal error: QMainWindow: No such file or
>> directory
>> compilation terminated.
>> make[1]: *** [build/mAMainWindow.o] Error 1
>> make[1]: Leaving directory `/home/jwmatthys/Software/**
>> miniAudicle-1.3.0/src'
>> make: [linux-alsa] Error 2 (ignored)
>>
>> --------------
>> Joel
>> ______________________________**_________________
>> chuck-users mailing list
>> [email protected].**princeton.edu <[email protected]>
>> https://lists.cs.princeton.**edu/mailman/listinfo/chuck-**users<https://lists.cs.princeton.edu/mailman/listinfo/chuck-users>
>>
>
> ______________________________**_________________
> chuck-users mailing list
> [email protected].**princeton.edu <[email protected]>
> https://lists.cs.princeton.**edu/mailman/listinfo/chuck-**users<https://lists.cs.princeton.edu/mailman/listinfo/chuck-users>
>
>
_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to