Giter Club home page Giter Club logo

calculator's People

Contributors

pikachuhy avatar reionwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

calculator's Issues

something is not working here

~]$ cutefish-calculator Qt: Session management error: networkIdsList argument is NULL QQmlApplicationEngine failed to load component qrc:/qml/main.qml:16:5: Cannot assign to non-existent property "backgroundColor"

cmake .. ERROR

hao@hao:~/work_my/OS/calculator/build$ gedit ../CMakeLists.txt +14

(gedit:5826): GLib-GObject-CRITICAL **: 09:43:50.139: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(gedit:5826): Gtk-WARNING **: 09:43:50.504: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
hao@hao:~/work_my/OS/calculator/build$ cmake ..
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5QuickControls2"
with any of the following names:

Qt5QuickControls2Config.cmake
qt5quickcontrols2-config.cmake

Add the installation prefix of "Qt5QuickControls2" to CMAKE_PREFIX_PATH or
set "Qt5QuickControls2_DIR" to a directory containing one of the above
files. If "Qt5QuickControls2" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:14 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/hao/work_my/OS/calculator/build/CMakeFiles/CMakeOutput.log".
hao@hao:~/work_my/OS/calculator/build$

Gentoo build failed: QFSFileEngine::open: No file name specified lupdate error: List file '' is not readable.

>>> Emerging (1 of 1) cutefish-base/cutefish-calculator-0.3::cutefishos
 * cutefish-calculator-0.3.tar.gz SHA256 size ;-) ...                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking cutefish-calculator-0.3.tar.gz to /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work
>>> Source unpacked in /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work
>>> Preparing source in /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build"
cmake -C /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build/gentoo_toolchain.cmake  /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3
loading initial cache file /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=ivybridge -O3 -pipe
C++             -march=ivybridge -O3 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build"
ninja -v -j40 -l0
[1/16] cd /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build && /usr/lib64/qt5/bin/lupdate @ -ts /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/en_US.ts
FAILED: /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/en_US.ts 
cd /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build && /usr/lib64/qt5/bin/lupdate @ -ts /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/en_US.ts
QFSFileEngine::open: No file name specified
lupdate error: List file '' is not readable.
[2/16] cd /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build && /usr/lib64/qt5/bin/lupdate @ -ts /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/zh_CN.ts
FAILED: /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/zh_CN.ts 
cd /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/cutefish-calculator-0.3_build && /usr/lib64/qt5/bin/lupdate @ -ts /var/tmp/portage/cutefish-base/cutefish-calculator-0.3/work/calculator-0.3/translations/zh_CN.ts
QFSFileEngine::open: No file name specified
lupdate error: List file '' is not readable.
ninja: build stopped: subcommand failed.
 * ERROR: cutefish-base/cutefish-calculator-0.3::cutefishos failed (compile phase):
 *   ninja -v -j40 -l0 failed

try 50*0.2= for example

it does not work. Definitely it depends on locale settings, in some countries the decimal separator is comma, but in inteface a 'dot' symbol harcoded and passed to eval() function which fails during execution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.