Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Can't find ui_webauthdialog.h

Can't find ui_webauthdialog.h

Scheduled Pinned Locked Moved Solved QtWebEngine
3 Posts 2 Posters 64 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tchernomax
    wrote last edited by
    #1

    Hello,

    I am trying to fix https://aur.archlinux.org/packages/openfortivpn-webview-qt

    qtwebengine reference a ui_webauthdialog.h in it's examples… but I can't find it

    https://github.com/qt/qtwebengine/blob/dev/examples/webenginewidgets/simplebrowser/webauthdialog.h#L10

    Any clue ?

    JonBJ 1 Reply Last reply
    0
    • T tchernomax

      Hello,

      I am trying to fix https://aur.archlinux.org/packages/openfortivpn-webview-qt

      qtwebengine reference a ui_webauthdialog.h in it's examples… but I can't find it

      https://github.com/qt/qtwebengine/blob/dev/examples/webenginewidgets/simplebrowser/webauthdialog.h#L10

      Any clue ?

      JonBJ Online
      JonBJ Online
      JonB
      wrote last edited by JonB
      #2

      @tchernomax
      ui_....h files are generated from ....ui Designer source files, which are created in that designer. When you run a build the project, the rules should invoke the .ui file compiler, named uic, and that reads from a .ui in your source directory and outputs a corresponding ui_....h file in the build output directory. Which you then #include into your corresponding source file for the designer file. So run a build and see if it gets generated. If not your build rules are not set up correctly, and depends on whether you are using qmake or cmake.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tchernomax
        wrote last edited by
        #3

        @JonB thanks !

        I had more problems, which I managed to fixed.

        My PKGBUILD was using qmake6, but that doesn't generate ui_webauthdialog.h.
        I tried qmake, but :

        Project ERROR: Unknown module(s) in QT: webenginewidgets
        

        I tried cmake, it doesn't worked at first … but it was due to the facts my qt6* packages where all in the same version (I think the archlinux repository weren't fully sync the last time I did an update)
        → after fixing my qt6* package, cmake worked.

        (note: I retried qmake6 and qmake with good qt6* packages → they still fails)

        So in short : I needed to use cmake ., then make (as stated in the README.md).

        Thanks for your help

        1 Reply Last reply
        0
        • T tchernomax has marked this topic as solved

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved