[CMake] mainwindow.cpp has unexpectedly finished.
Hey, Please have a look at mainwindow.cpp #include"mainwindow.h" #include"ui_mainwindow.h" #include MainWindow::MainWindow(QWidget*parent): QMainWindow(parent), ui(newUi::MainWindow) {QSplitter*splitter1=newQSplitter(parent); QSplitter*splitter2=newQSplitter(parent); splitter1->addWidget(ui->treeWidget); splitter1->addWidget(ui->groupBox); splitter2->addWidget(ui->groupBox);splitter2->addWidget(ui->scrollArea); ui->setupUi(this); } MainWindow::~MainWindow() { deleteui; } Using qt creator I am getting this error -Starting /home/heena/Documents/untitled3/untitled3... The program has unexpectedly finished. /home/heena/Documents/untitled3/untitled3 exited with code 0 Regards bye-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] compiled .ui file
hey, Using cmake . make and make install command i am getting this http://pastebin.com/raw.php?i=MDJaeqF9 now,what shall I need to do? when a write ptedit in the run command only bash appears. regards bye -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] cmake
project( ptedit_1 ) CMAKE_MINIMUM_REQUIRED( VERSION 2.8 ) find_package( KDE4 REQUIRED ) SET( MAIN_PROJECT_NAME ${PROJECT_NAME}) INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} ) SET(CPACK_SET_DESTDIR "ON") set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) include_directories( ${KDE4_INCLUDE_DIRS} ${libkdepim_INCLUDES}) add_definitions( ${KDE4_DEFINITIONS} ) set( SOURCES src/ptedit_1.cpp ) kde4_add_ui_files( ptedit_1 ${CMAKE_SOURCE_DIR} ptedit_1.ui ) kde4_add_executable( ptedit_1 ${ptedit_1Sources} ${CMAKE_SOURCE_DIR}) target_link_libraries( ptedit_1 ${KDE4_KDEUI_LIBS} ) install(TARGETS ptedit_1 ${INSTALL_TARGETS_DEFAULT_ARGS}) I am getting error-CMake Error: CMake can not determine linker language for target:ptedit_1 CMake Error: Cannot determine link language for target "ptedit_1". Please suggest what should I modify in this file and how? I tried hard but unable to find what is wrong please help-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] cmakelists.txt
Hey,I need to that what should i do in cmakelists.txt http://pastebin.com/raw.php?i=BGV9NAmQ since i am getting this error (target_link_libraries): Cannot specify link libraries for target "ptedit_1" which is not built by this project. Please suggest the errors and the suggested commands in detail .I am a beginer Reagards Bye-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake