Cannot build QtWayland plugin when building qt from source for 32bit.
-
Hi,
Did you restart the configuration from a clean state after installing the missing dependencies ?
-
Hi,
Did you restart the configuration from a clean state after installing the missing dependencies ?
I delete all folders in the build folder. And start a new terminal. Is that enough?
Once I removed the
-developer-build
option from the configure line, like you suggested earlier, I started getting those "Forcing to ON breaks its condition" errors, so I am only using the-bundled-xcb-xinput
option.Also, I am skipping a good amount of modules to keep the space it takes up fairly low and since I have encountered errors building all of them in the past. Here is a screenshot of my full configure line:
-
Check the logs generated from the configure tests, they might give you more hints about what is going wrong.
-
Check the logs generated from the configure tests, they might give you more hints about what is going wrong.
@SGaist
After a break from this, I am back and retrying. This is where I stand now. Help would be much appreciated as I am a little naive with this topic. ThanksI do not see any log files. Only file i see is the config.summary file. Which only mentions wayland once
The configure output throws this warning:
When I go to that file and look at line 26, I see this conditional:
I can confirm I have WaylandScanner:
And this shows I am using Wayland:
So to figure out which conditional was failing, I modified the CMakeLists.txt in the wayland/src folder by splitting the conditional into two if statements:
After running the configure script again with this new CMakeLists.txt file, I see this:
This tells me that the
NOT Wayland_FOUND
conditional is what is throwing this. I'm not positive what this means since I am running Wayland already since it comes with Ubuntu pre-installed. -
Do you have the wayland development libraries installed ?
-
The Wayland Development libraries I already have installed are as follows:
libwayland-dev
libffi-dev
libwayland-bin
libwayland-client0
libwayland-cursor0
libwayland-egl1
libwayland-server0
libwayland-doc -
I just saw that the cmake file looks for 1.15 and you have wayland 1.20. I wonder if it comes to that.
-
I just saw that the cmake file looks for 1.15 and you have wayland 1.20. I wonder if it comes to that.
@SGaist
spent yesterday working on this suggestion. Got wayland1.15 built and installed.I ran the configure script for qt and didnt see any issues with configuring the qtwayland module. Started building and it failed with this error:
before it failed, it spit out these warnings:
I was trying to open a log file to see if it would give me any more info, but it wasnt opening. So I restarted my VM, and now I get a blinking cursor on a black screen. I feel the issue may be that my version of ubuntu is incompatible with wayland 1.15. Trying to see what I can do to save this machine.
-
As a first step, I would have adapted the script to the version of wayland installed and not replace any system components like that.
What you can do is switch to one of the virtual terminal and force reinstall wayland.
Another possibility is to ssh into the system.
-
As a first step, I would have adapted the script to the version of wayland installed and not replace any system components like that.
What you can do is switch to one of the virtual terminal and force reinstall wayland.
Another possibility is to ssh into the system.
@SGaist
Im back where I was and have fixed the script. Its currently building. Will update with progress