POV-Ray : Newsgroups : povray.tools.general : building povmodeler? Server Time
24 Nov 2024 16:13:53 EST (-0500)
  building povmodeler? (Message 23 to 32 of 32)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: jr
Subject: Re: building povmodeler?
Date: 7 Dec 2019 11:40:00
Message: <web.5debd4fccdd38c9feeb22ff0@news.povray.org>
hi,

Dick Balaska <dic### [at] buckosoftcom> wrote:
> Am 11/28/19 10:26 AM, also sprach Bald Eagle:
> > Dick Balaska <dic### [at] buckosoftcom> wrote:
> >> It built first shot in qtcreator!  And it runs fine, go figure.
> > Can you provide instructions so I can replicate?
>
> Hey Baldy, try this:
> ...

instructions work.  even for people with hair.  :-)  minor problem, it complains
(on startup): Rule file 'povmodeler/ "baseinsertrules.xml" ' not found.  the
file does exist though.

then five "Asking for share context for widget..." warnings/errors, followed by
a number of "QMainWindow::saveState(): 'objectName' not set for QToolBar", each
with a different pointer/address (one per button?).


regards, jr.


Post a reply to this message

From: Dick Balaska
Subject: Re: building povmodeler?
Date: 7 Dec 2019 15:48:57
Message: <5dec1039$1@news.povray.org>
Am 12/7/19 8:44 AM, also sprach Bald Eagle:
> 
> I'm thinking it's just an edit in the make file to append '-std=c++11' to the
> compiler command?

make clean
git pull
qmake
make -j4


-- 
dik
Rendered 43,099,776,000 of 49,882,521,600 pixels (86%)


Post a reply to this message

From: Bald Eagle
Subject: Re: building povmodeler?
Date: 7 Dec 2019 16:55:06
Message: <web.5dec1f5bcdd38c94eec112d0@news.povray.org>
Dick Balaska <dic### [at] buckosoftcom> wrote:

OK, that seemed to work "better."

Got a bunch of the usual stuff, some




and then


src/pmpart.cpp:380:42: error: no matching function for call to

    m_pImportAction = new
QAction("Import");//m_pShell->get_fileMenu()->addAction( "Import" );
                                          ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmenu.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMenu:1,
                 from src/pmshell.h:29,
                 from src/pmpart.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate:
QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note:   candidate
expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate:
QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note:   candidate
expects 3 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate:
QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note:   candidate
expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate:
QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note:   no known

src/pmpart.cpp:384:42: error: no matching function for call to

    m_pExportAction = new QAction("Export");
                                          ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmenu.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMenu:1,
                 from src/pmshell.h:29,
                 from src/pmpart.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate:
QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note:   candidate
expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate:
QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note:   candidate
expects 3 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate:
QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note:   candidate
expects 2 arguments, 1 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate:
QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note:   no known

make: *** [Makefile:9649: pmpart.o] Error 1
make: *** Waiting for unfinished jobs....


Post a reply to this message

From: Dick Balaska
Subject: Re: building povmodeler?
Date: 7 Dec 2019 20:38:36
Message: <5dec541c$1@news.povray.org>
Am 12/7/19 4:53 PM, also sprach Bald Eagle:
> Dick Balaska <dic### [at] buckosoftcom> wrote:
> 
> OK, that seemed to work "better."
> 

Well, forget that.
I just built this one and it has the failed OpenGL init nonsense.
I'll have to unwind where I killed it.


-- 
dik
Rendered 43,456,435,200 of 49,882,521,600 pixels (87%)


Post a reply to this message

From: Dick Balaska
Subject: Re: building povmodeler?
Date: 8 Dec 2019 03:46:31
Message: <5decb867$1@news.povray.org>
Am 12/7/19 8:38 PM, also sprach Dick Balaska:
> 
> Well, forget that.
> I just built this one and it has the failed OpenGL init nonsense.
> I'll have to unwind where I killed it.


I can't get it to work with the debian/ubuntu/mint default Qt version of 
5.9.5. (I'm still working on it) It works fine with Qt 5.13.1.

I'm curious if this works. Try this.
I assume you installed povmodeler-1.1.4-linuxmint-19.2.deb so that all 
of the support files are in the right place.

This is a built binary  that works on my machine. It's all static linked 
so it *should* run for you.


wget http://www.buckosoft.com/tmp/qtpovmodeler.bz2
bunzip2 qtpovmodeler.bz2
chmod +x qtpovmodeler
./qtpovmodeler


-- 
dik
Rendered 44,001,792,000 of 49,882,521,600 pixels (88%)


Post a reply to this message

From: Bald Eagle
Subject: Re: building povmodeler?
Date: 8 Dec 2019 09:00:01
Message: <web.5ded00cfcdd38c94eec112d0@news.povray.org>
Dick Balaska <dic### [at] buckosoftcom> wrote:

> I assume you installed povmodeler-1.1.4-linuxmint-19.2.deb so that all
> of the support files are in the right place.

or not  ;)

> wget http://www.buckosoft.com/tmp/qtpovmodeler.bz2
> bunzip2 qtpovmodeler.bz2
> chmod +x qtpovmodeler
> ./qtpovmodeler

qtpovmodeler $ ./qtpovmodeler

../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5: version `Qt_5' not
found (required by ./qtpovmodeler)
../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not
found (required by ./qtpovmodeler)
../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.13' not
found (required by ./qtpovmodeler)
../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not
found (required by ./qtpovmodeler)
../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5: version `Qt_5' not
found (required by ./qtpovmodeler)
../qtpovmodeler: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not
found (required by ./qtpovmodeler)


Post a reply to this message

From: Ton
Subject: Re: building povmodeler?
Date: 8 Dec 2019 18:50:02
Message: <web.5ded8b59cdd38c9f3a913d00@news.povray.org>
>
> Hoy! Mr Ton.
>
> Those are both very useful tips.  Thank you!
>
> Agreed about getting rid of the useless MessageBox.
>
>
> --
> dik
> Rendered 42,220,569,600 of 49,882,521,600 pixels (84%)

Hello Dick, you can skip that mr. I'm just Ton!

If you replace this code in pmpovrayrenderwidget.cpp

   //eticre add +D +P for preview  png default format +FP
   m_args =  m_args + QString( "+I" ) + m_pTempFile->fileName() + " +O-" + "
+FP"
               + "\n" + " -D" + " -P";

   QFileInfo file_info( documentURL.toString() );

   if( !documentURL.isEmpty() && documentURL.isLocalFile() )
   {
      m_pProcess->setWorkingDirectory( file_info.path().remove( 0, 6 ) );
   }

   m_progress = 0;
   m_bPixmapUpToDate = false;


    //get user input modify args
//    QInputDialog qi;
//    qi.setInputMode( QInputDialog::TextInput );
//    qi.setOptions( QInputDialog::UsePlainTextEditForTextInput );
//    m_args = qi.getMultiLineText( this, "povray", "
 ______________________cmdline____________________
    ",
//                                   m_args, nullptr, Qt::Widget,
Qt::ImhMultiLine );

that messagebox is gone. Also those arguments for creating a movie are gone.

Cheers
Ton.


Post a reply to this message

From: Dick Balaska
Subject: Re: building povmodeler?
Date: 10 Dec 2019 04:17:00
Message: <5def628c$1@news.povray.org>
Am 12/10/19 1:18 AM, also sprach jr:
 >
 > btw, re 'qtpovmodeler', what's with the baseinsertrules.xml file not 
found?
 > (same for the docmap xml).

Did you do make install?  I got these installed from the povmodeler.deb 
file.
$ ls /usr/share/povmodeler/
baseinsertrules.xml  examples  library  povraydocmap.xml  questionmark.png

I would guess you have the same in /usr/local?

But. I did not set up make install in the qmake file yet.  You would 
have had to have done that from the povmodeler's cmake.


 >  also, and that may be my window manager to blame
 > (WindowMaker 0.95.7), main menu accelerator key bindings do not work 
for me.

They don't work for me either.

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message

From: jr
Subject: Re: building povmodeler?
Date: 11 Dec 2019 11:05:00
Message: <web.5df11286cdd38c9feeb22ff0@news.povray.org>
hi,

Dick Balaska <dic### [at] buckosoftcom> wrote:
> Am 12/10/19 1:18 AM, also sprach jr:
>  > btw, re 'qtpovmodeler', what's with the baseinsertrules.xml file not
> found?
>  > (same for the docmap xml).
>
> Did you do make install?  I got these installed from the povmodeler.deb
> file.
> $ ls /usr/share/povmodeler/
> baseinsertrules.xml  examples  library  povraydocmap.xml  questionmark.png
>
> I would guess you have the same in /usr/local?

not quite.  I only built the executable, then tried it in-situ (temp build dir);
both the exe and the supporting xml were in the same directory though.


> But. I did not set up make install in the qmake file yet.  You would
> have had to have done that from the povmodeler's cmake.

will you be adding the install procedure in the near future?


>  >  also, and that may be my window manager to blame
>  > (WindowMaker 0.95.7), main menu accelerator key bindings do not work
> for me.
>
> They don't work for me either.

not my setup then, ok.  another "not working for me" item is the preferences
dialog, afaict it does not save changed setting between sessions.


(how did you manage to create a bathtub, _anything_??)


regards, jr.


Post a reply to this message

From: Dick Balaska
Subject: Re: building povmodeler?
Date: 20 Dec 2019 03:47:31
Message: <5dfc8aa3$1@news.povray.org>
Am 12/11/19 11:00 AM, also sprach jr:

> 
> 
> (how did you manage to create a bathtub, _anything_??)

I installed the .deb, which I think put all of the right files in place.
The exe in the .deb doesn't work.
I got it to build and run fine in qtcreator using Qt 5.13.1
It suffers the OpenGL init errors if I build it under Qt 5.9 (the 
current debian version).

It's weird that it requires such a new version of Qt, since the program 
was ported from Qt 3.

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.