Conversation
|
Hi, Sadly, this project is unmantained since I do not have time to invest in it due to work and children. But looking at your errors, it seems the issue is when compiling the Wt code, specially in First thing I would check is what is the minimum C++ version (c+11 or c++17) that Wt required and check that your GCC version matches that version of the C++ standard. In my experience, most errors while compling templates come from not happing a compiler that supports what I am trying to do. |
|
Hello, I understand the nature of opensource, I used to work for Canonical. There's no need to apologize. I'm grateful for the contributions you have already made! Do you know of anyone else who is most active in keeping this tool alive? I don't want to go off and reinvent the wheel. Those youtube videos are great btw! It really helped this old systems guy get a better handle on using Wt. Concerning the bug. I'm on 18.04 with the latest gcc so the default std is at least 14. I reduced the issue down to a minimal case and strangely enough it appears to be the order in which the include files are added. This is the failing case: compiled like so If I swap the headers, making qobject the last thing included, it compiles fine. I managed to get a lot further with the build using this hack but eventually it caught up to me again. I'm guessing there must be some macro shadowing going on which is turning that perfectly fine template code into garbage. I'll dive into the include tree further to see how close I need to get to the signal classes before it breaks. It is an issue Wt will need to address or at least needs to be brought to their attention. Thanks. |
|
Wt issue opened. |
|
So my instincts were right about the define. Adding Let the porting continue! :-) |
|
But that was already considered in WtDesigner qmake project:
Are you not using the existing project to build? |
|
The original project file had so much stuff from boost back from when Wt depended on it that I just blew it away and made qmake generate a new one for me. I couldn't even begin figuring out what the compilation errors were until I got all the library dependency errors out of the way. I'll grab the rest of the defs. Thank you for pointing that out. I know even less about Qt than I do of Wt. |
|
Do you have any idea where ui_mainwindow.h went? It's not anywhere in the history and it's being used here. In file included from main/mainpage.cpp:22:0: It was included in that cpp file so it built at one point. |
|
You should build using qmake. There are a lot of files generated by qt's moc compiler. You should really look on google on how to build qt projects. |
So I have all the header files sorted but the build is failing with the strangest error somewhere inside the Wt lib. You probably know that lib better than I do so I want to get your opinion on it.