Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Building QtWebKit and installing into a prefix
Forum Updated to NodeBB v4.3 + New Features

Building QtWebKit and installing into a prefix

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 1.1k 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.
  • A Offline
    A Offline
    Alexander Wilms
    wrote on last edited by Alexander Wilms
    #1

    Please help me installing it into PREFIX=/app

    I've tried

    CMAKE_INSTALL_PREFIX=/app
    export CMAKE_INSTALL_PREFIX
    qmake
    make
    make install
    

    which results in

    make -f Makefile.run_cmake install_impl VERBOSE=1 DESTDIR=
    make[2]: Entering directory '/run/build/qtwebkit/Tools/qmake/projects'
    cd /run/build/qtwebkit/debug && cmake -P cmake_install.cmake
    -- Install configuration: "Debug"
    CMake Error at Source/cmake_install.cmake:36 (file):
      file cannot create directory: /usr/lib/cmake/Qt5WebKit.  Maybe need
      administrative privileges.
    Call Stack (most recent call first):
      cmake_install.cmake:37 (include)
    

    Would defining an environment variable DESTDIR work?

    This is on Linux, using this [0] Flatpak runtime.

    [0] https://github.com/KDE/flatpak-kde-runtime/blob/master/org.kde.Sdk.json

    K 1 Reply Last reply
    0
    • A Alexander Wilms

      Please help me installing it into PREFIX=/app

      I've tried

      CMAKE_INSTALL_PREFIX=/app
      export CMAKE_INSTALL_PREFIX
      qmake
      make
      make install
      

      which results in

      make -f Makefile.run_cmake install_impl VERBOSE=1 DESTDIR=
      make[2]: Entering directory '/run/build/qtwebkit/Tools/qmake/projects'
      cd /run/build/qtwebkit/debug && cmake -P cmake_install.cmake
      -- Install configuration: "Debug"
      CMake Error at Source/cmake_install.cmake:36 (file):
        file cannot create directory: /usr/lib/cmake/Qt5WebKit.  Maybe need
        administrative privileges.
      Call Stack (most recent call first):
        cmake_install.cmake:37 (include)
      

      Would defining an environment variable DESTDIR work?

      This is on Linux, using this [0] Flatpak runtime.

      [0] https://github.com/KDE/flatpak-kde-runtime/blob/master/org.kde.Sdk.json

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      Both qmake and cmake rely on arguments, not environment variables

      1 Reply Last reply
      0

      • Login

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