I have figured out the issue is with the AUTOMOC tool that Qt provides and 
CMake uses that is the problem, nothing in emscripten. 

Dale

On Monday, December 1, 2025 at 1:03:28 PM UTC-6 Dale Pennington wrote:

>
> Thanks for that. Now I have a further quandry. The generated .o's are 
> identical (used diff for compare) and the only difference in the link line 
> is that the paths are slightly different due to flat vs tree. And both .o
> s show the vtable as undefined. But the flat link while the tree has  a 
> link error on the undefined vtable. I would think it has to be something in 
> the link process but cannot see anything special. Anyone have an idea ?
>
> Thanks
> Dale Pennington
> On Monday, December 1, 2025 at 12:00:02 PM UTC-6 [email protected] wrote:
>
>> On Mon, Dec 1, 2025 at 9:49 AM Dale Pennington <[email protected]> 
>> wrote:
>>
>>> Folks,
>>> I am operating in a Linux environment with Qt 6.10 for WebAssembly using 
>>> cmake to build.
>>> The issue is if I place all the files in one directory it builds, but if 
>>> I split them up to subdirectories (we use forms, inc, and src) I get a link 
>>> error of vtable not found for the window class.
>>> What I want to do it dump the symbol table on the .o file to see what 
>>> the difference is in the the .o file for the flat version vs the .o file in 
>>> the tree version. Is there a tool to do that ?
>>>
>>
>> You can use all of the standard llvm tools for inspecting object files.  
>>  e.g. `llvm-nm`, `llvm-objdump`, etc. 
>>
>> cheers,
>> sam
>>  
>>
>>> Thanks
>>> Dale Pennington
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/emscripten-discuss/83aaa565-247b-4640-8944-d842c74ec190n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/emscripten-discuss/83aaa565-247b-4640-8944-d842c74ec190n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/emscripten-discuss/4dcd2ed6-33f2-4ccb-aad5-4a4b6f353c4en%40googlegroups.com.

Reply via email to