[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    D26670: ki18n_wrap_ui: error when file doesn't exist
From:       David Redondo <noreply () phabricator ! kde ! org>
Date:       2020-01-17 19:55:02
Message-ID: b7440870235ac98679cca4ca906c03f1 () localhost ! localdomain
[Download RAW message or body]

[Attachment #2 (text/plain)]

davidre added a comment.


  Output of
  
    cmake_minimum_required(VERSION 2.8.12)
    find_package(ECM)
    set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
    find_package(Qt5Widgets)
    find_package(KF5I18n)
    ki18n_wrap_ui(var test.ui)
    ki18n_wrap_ui(var test.uia)
    ki18n_wrap_ui(${CMAKE_CURRENT_SOURCE_DIR}/test.ui)
    ki18n_wrap_ui(/not/existing/path)
  
  with existing test.ui next to CMakeLists.txt:
  
    [...]
    CMake Error at /home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 (message):
       Cannot find ui file:
       
          test.ui
    
    Call Stack (most recent call first):
      CMakeLists.txt:7 (ki18n_wrap_ui)
    
    
    CMake Error at /home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 (message):
       Cannot find ui file:
       
          test.uia
    
    Call Stack (most recent call first):
      CMakeLists.txt:8 (ki18n_wrap_ui)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/tmp/test/build/CMakeFiles/CMakeOutput.log".

REPOSITORY
  R249 KI18n

REVISION DETAIL
  https://phabricator.kde.org/D26670

To: davidre, #framework_syntax_highlighting, #localization, #build_system
Cc: cullmann, ngraham, kossebau, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns

[Attachment #3 (text/html)]

<table><tr><td style="">davidre added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D26670">View Revision</a></tr></table><br \
/><div><div><p>Output of</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" \
data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px \
&quot;Menlo&quot;, &quot;Consolas&quot;, &quot;Monaco&quot;, monospace; padding: \
12px; margin: 0; background: rgba(71, 87, 120, 0.08);">cmake_minimum_required(VERSION \
2.8.12) find_package(ECM)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
find_package(Qt5Widgets)
find_package(KF5I18n)
ki18n_wrap_ui(var test.ui)
ki18n_wrap_ui(var test.uia)
ki18n_wrap_ui(${CMAKE_CURRENT_SOURCE_DIR}/test.ui)
ki18n_wrap_ui(/not/existing/path)</pre></div>

<p>with existing test.ui next to CMakeLists.txt:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" \
data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px \
&quot;Menlo&quot;, &quot;Consolas&quot;, &quot;Monaco&quot;, monospace; padding: \
12px; margin: 0; background: rgba(71, 87, 120, 0.08);">[...] CMake Error at \
/home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 (message):  \
Cannot find ui file:  
      test.ui

Call Stack (most recent call first):
  CMakeLists.txt:7 (ki18n_wrap_ui)


CMake Error at /home/david/kde/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nMacros.cmake:55 \
(message):  Cannot find ui file:
   
      test.uia

Call Stack (most recent call first):
  CMakeLists.txt:8 (ki18n_wrap_ui)


-- Configuring incomplete, errors occurred!
See also &quot;/tmp/test/build/CMakeFiles/CMakeOutput.log&quot;.</pre></div></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>R249 KI18n</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D26670">https://phabricator.kde.org/D26670</a></div></div><br \
/><div><strong>To: </strong>davidre, Framework: Syntax Highlighting, Localization, \
Build System<br /><strong>Cc: </strong>cullmann, ngraham, kossebau, \
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic