View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000065 | FreeCAD | Bug | public | 2010-01-09 13:23 | 2010-01-12 23:15 |
Reporter | dharter | Assigned To | wmayer | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.9 | ||||
Summary | 0000065: get compile error when using latest qt; perhaps needs an include? | ||||
Description | g++ -DHAVE_CONFIG_H -I. -I../.. -D_OCC64 -DFC_DEBUG -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.5 -I/usr/include -I/usr/include/boost -I/usr/include/ -I/usr/include//Qt3Support -I/usr/include//QtGui -I/usr/include//QtCore -I/usr/include//QtOpenGL -I/usr/include//QtNetwork -I/usr/include//QtSvg -I/usr/include//QtXml -I/usr/include//QtUiTools -I/usr/include -I/usr/include/Inventor/Qt -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -Wno-deprecated -frtti -MT CombiView.lo -MD -MP -MF .deps/CombiView.Tpo -c CombiView.cpp -fPIC -DPIC -o .libs/CombiView.o BrowserView.cpp: In constructor 'Gui::BrowserView::BrowserView(QWidget*)': BrowserView.cpp:69: error: invalid use of incomplete type 'struct QWebView' BrowserView.h:32: error: forward declaration of 'struct QWebView' BrowserView.cpp:70: error: no matching function for call to 'Gui::BrowserView::setCentralWidget(QWebView*&)' /usr/include//QtGui/qmainwindow.h:122: note: candidates are: void QMainWindow::setCentralWidget(QWidget*) BrowserView.cpp:73: error: no matching function for call to 'Gui::BrowserView::connect(QWebView*&, const char [15], Gui::BrowserView* const, const char [17])' /usr/include/QtCore/qobject.h:199: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) /usr/include/QtCore/qobject.h:300: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const BrowserView.cpp:75: error: no matching function for call to 'Gui::BrowserView::connect(QWebView*&, const char [19], Gui::BrowserView* const, const char [21])' /usr/include/QtCore/qobject.h:199: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) /usr/include/QtCore/qobject.h:300: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const BrowserView.cpp:77: error: no matching function for call to 'Gui::BrowserView::connect(QWebView*&, const char [20], Gui::BrowserView* const, const char [18])' /usr/include/QtCore/qobject.h:199: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) /usr/include/QtCore/qobject.h:300: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const BrowserView.cpp: In destructor 'virtual Gui::BrowserView::~BrowserView()': BrowserView.cpp:85: warning: possible problem detected in invocation of delete operator: BrowserView.cpp:85: warning: invalid use of incomplete type 'struct QWebView' BrowserView.h:32: warning: forward declaration of 'struct QWebView' BrowserView.cpp:85: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. BrowserView.cpp: In member function 'void Gui::BrowserView::load(const char*)': BrowserView.cpp:92: error: variable 'QUrl url' has initializer but incomplete type BrowserView.cpp:92: error: invalid use of incomplete type 'struct QUrl' /usr/include/QtCore/qmetatype.h:251: error: forward declaration of 'struct QUrl' BrowserView.cpp:93: error: invalid use of incomplete type 'struct QWebView' BrowserView.h:32: error: forward declaration of 'struct QWebView' BrowserView.cpp:94: error: invalid use of incomplete type 'struct QWebView' BrowserView.h:32: error: forward declaration of 'struct QWebView' BrowserView.cpp:95: error: 'QWebSettings' has not been declared BrowserView.cpp: In member function 'void Gui::BrowserView::onLoadStarted()': BrowserView.cpp:105: error: invalid use of incomplete type 'struct QWebView' BrowserView.h:32: error: forward declaration of 'struct QWebView' make[5]: *** [BrowserView.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... mv -f .deps/Application.Tpo .deps/Application.Plo mv -f .deps/CombiView.Tpo .deps/CombiView.Plo mv -f .deps/CallTips.Tpo .deps/CallTips.Plo make[5]: Leaving directory `/usr/src/packages/BUILD/FreeCAD-0.9.2646/src/Gui' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/packages/BUILD/FreeCAD-0.9.2646/src/Gui' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/packages/BUILD/FreeCAD-0.9.2646/src/Gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/FreeCAD-0.9.2646/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/FreeCAD-0.9.2646' | ||||
Additional Information | perhaps just a include BrowserView.h will fix this. or maybe there is already a patch. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
2010-01-09 13:23
|
|
|
What version of Qt is it, 4.6? Which FreeCAD sources did you use? |
|
FreeCAD-0.9.2646-2.tar.gz installing libqt4-4.4.0-12.1 installing libqt4-sql-4.4.0-12.1 installing libqt4-x11-4.4.0-12.1 installing libqt4-qt3support-4.4.0-12.1 installing libqt4-devel-4.4.0-12.1 |
|
Is there also a package something like libqt4-webkit-4.4.0-12.1 for your system? I can't detect any errors in the code but if don't have installed QtWebkit it can't work. |
|
Yes I found such a package. That is probably the issue. But I also found out that I have been wasting my time trying to build it on the opensuse build service. http://en.opensuse.org/Application_Black_List If you tell me how, I will send you my SUSE src.rpm or the binaries that I made. I might be able to build it locally using suse osc, but I have already built it using rpmbuild and my installed packages. It seems that suse could never allow it to be stored on their servers for download. I am short of disk space and not sure of what would be gained by that. So you can close this. If you close this though, I won't be able to add any notes or contact you. Would you delete my email address from bug 55 (previous bug report) before spammers get it. Thanks for your help. |
|
This seems to be the only other place that could host a suse version. http://wiki.links2linux.de/wiki/PackMan:FAQ_%28en%29#I_have_an_interesting_package_for_Packman._Can_I_upload_my_package_to_your_repository.3F |
|
OK I have replaced your email address with your account name. About the application black list I don't really understand why FreeCAD shouldn't allowed. At least after some hick hack we also were accepted by Debian. If the packman solution doesn't work and if the package is not too big you can send it to my email. I'll let this issue open for let's say a week or so. |
|
Please send me your email to my email address. If FreeCad is built with those blacklisted packages then it could perhaps contain the forbidden "codecs". But if it links to them then perhaps not. No one said that it couldn't be on the suse site. But I had to delete the forbidden packages. You would not be able to build it using the suse openbuild service and publish the rpm. But you might be able to build it locally using the forbidden packages locally. packman would allow it but requires a commitment to maintain it. I have just been trying it out. I ahve't found that cae stuff that is there. Maybe I am supposed to take the files ad 3d representations and use them as input for other programs. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-01-09 13:23 | dharter | New Issue | |
2010-01-09 13:23 | dharter | File Added: buildbug | |
2010-01-09 17:08 | wmayer | Note Added: 0000134 | |
2010-01-09 21:06 | dharter | Note Added: 0000135 | |
2010-01-10 12:00 | wmayer | Note Added: 0000136 | |
2010-01-10 15:25 | dharter | Note Added: 0000137 | |
2010-01-10 15:47 | dharter | Note Added: 0000139 | |
2010-01-10 16:07 | wmayer | Note Added: 0000140 | |
2010-01-10 16:09 | wmayer | Assigned To | => wmayer |
2010-01-10 16:09 | wmayer | Status | new => feedback |
2010-01-10 16:09 | wmayer | Resolution | open => fixed |
2010-01-10 17:10 | dharter | Note Added: 0000141 | |
2010-01-12 23:15 | wmayer | Status | feedback => closed |