• 6856阅读
  • 5回复

[提问]求助:qt总是提示没有文件或者目录 [复制链接]

上一主题 下一主题
离线kjd007
 

只看楼主 倒序阅读 楼主  发表于: 2011-04-21
附上pro和截图
pro:
#Addfilesanddirectoriestoshipwiththeapplication
#byadaptingtheexamplesbelow.
#file1.source=myfile
#dir1.source=mydir
DEPLOYMENTFOLDERS=#file1dir1
symbian:TARGET.UID3=0xE3AD9FBD
#AllownetworkaccessonSymbian
symbian:TARGET.CAPABILITY+=NetworkServices\
                                                     LocalServices\
                                                     ReadUserData\
                                                     WriteUserData\
                                                     UserEnvironment\
                                                      ReadDeviceData\
                                                      WriteDeviceData
#IfyourapplicationusestheQtMobilitylibraries,uncomment
#thefollowinglinesandaddtherespectivecomponentstothe
#MOBILITYvariable

CONFIG+=mobility
MOBILITY+=contacts
MOBILITY+=messaging
SOURCES+=main.cppmainwindow.cpp\
basicoperation.cpp
HEADERS+=mainwindow.h\
    basicoperation.h
FORMS+=mainwindow.ui
#Pleasedonotmodifythefollowingtwolines.Requiredfordeployment.
include(deployment.pri)
qtcAddDeployment()
RESOURCES+=\
    zys.qrc
window.open('http://www.qtcn.org/bbs/attachment/Mon_1104/50_113671_1731d2df3404ddf.png?44');" style="max-width:700px;max-height:700px;" onload="if(is_ie6&&this.offsetWidth>700)this.width=700;" >
奇怪的是,messaging那个模块的可以,但是contact那个模块的不行?[/pre][pre]各位大侠,帮帮忙啊。。。[/pre]
[ 此帖被kjd007在2011-04-21 08:28重新编辑 ]
离线jiapper

只看该作者 1楼 发表于: 2011-04-21
同求解,貌似跟project配置有关,没有去当前qt库的路径去找。如果切换到x11的话没什么问题。我试过。
离线kjd007

只看该作者 2楼 发表于: 2011-04-21


好像在Maemo和Qt模拟器都可以,但是到了塞班设备就不行了......求解
[ 此帖被kjd007在2011-04-21 12:56重新编辑 ]
离线jiapper

只看该作者 3楼 发表于: 2011-04-21
你用的什么qtcreator版本了?
离线kjd007

只看该作者 4楼 发表于: 2011-04-21
qt creator 2.1.0
离线hgpdai
只看该作者 5楼 发表于: 2011-04-27
应该是这样的吧。
#include <QtContacts/QContactId>
#include <QtContacts/QContactManager>
#include <QtContacts/QContactSortOrder>
快速回复
限100 字节
 
上一个 下一个