QtErl icon indicating copy to clipboard operation
QtErl copied to clipboard

Trying to build on Linux, missing qterlproxy.h

Open kvakvs opened this issue 11 years ago • 4 comments

Hello

I'm trying to build on Linux, QT 5.4.0 and Erlang of some version (don't care which yet, have 15, 16, 17). While I was able to fight through qmake and Makefile hell, one file c_src/libqte/proxy/qterlproxy.h is missing and i'm not sure what it should contain. Generating it from qobject.h (first guess) didn't help much.

What's this file, where and how to get it?

Other thing is that owc includes qmetaobject_moc_p.h which exists in 5.4.0 but i wasn't able to "include" it, that part was solved by copying offending file to owc directory. Ugly but worked for now.

kvakvs avatar Jan 03 '15 23:01 kvakvs

Hi,

Oh, wow, I haven't looked at this for a long time now..

I'll have a look and see what I can recall regarding those files.

kaos avatar Jan 04 '15 22:01 kaos

See https://github.com/kaos/QtErl#proxy-objects

I think you need to run owc -p . -o <output filename> <input filename> for the missing files, but I regret now having put in which files are expected for it to work.. also note that there are a few manual patches that you need to apply on the generated proxy files in order for them to compile.

Much of the code in owc borrows from the Qt moc compiler.. so that they may have moved that included file so it's no longer on the include path (just a hunch).

I'm not convinced that the while owc construct is the best way to solve it, either.. I was trying different solutions. I'm hoping to pick this up again, but it'll probably be a while longer..

kaos avatar Jan 04 '15 22:01 kaos

I'm all enthusiastic about bringing a good usable GUI to Erlang, although it may take a while until I fully focus on this and be able to spend some significant time. Making it compile is not a problem, problem is not knowing what's missing (that qterlproxy file), and how to bring it back - it wasn't on disk, it's nowhere in READMEs and it wasn't in git history either. And by naming it seems that it isn't the one generated by owc/moc.

kvakvs avatar Jan 05 '15 08:01 kvakvs

Ok, I'll have to dig through my old windows box see if I can find it there. May be that I missed to add it.. :/

kaos avatar Jan 05 '15 12:01 kaos